Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
bp
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdur-rahmaanJ committed Apr 4, 2019
1 parent e2ee9e7 commit 74ea2a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion honeybot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def pull(self):
""".format(msg))
if len(data) == 0:
try:
print('<must handle reconnection>')
print('<must handle reconnection - len(data)==0>')
sys.exit()
except Exception as e:
print(e)
Expand All @@ -220,6 +220,7 @@ def unregistered_run(self):
'''
def stay_alive(self, incoming):
if not incoming:
print('<must handle reconnection - incoming is not True>')
sys.exit()
if 'ping' in incoming.lower():
part = incoming.split(':')
Expand Down

0 comments on commit 74ea2a7

Please sign in to comment.