Fix error loading module - connection wasn't defined when pinged on startup

dave/xdcc
dave 7 years ago
parent 1f9e7225a4
commit bd1260040f
  1. 2
      pyircbot/modules/DogeRPC.py

@ -64,6 +64,8 @@ class DogeController:
def ping(self):
"Test connection and re-establish if necessary"
if not self.con:
self.connect()
try:
self.con.getinfo()
except:

Loading…
Cancel
Save