Skip to content

Commit

Permalink
Update loki.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitwise-01 authored Jan 8, 2019
1 parent 1a489a5 commit 4a76afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loki.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def server_service():
online = server.stop()
mode = 'Stop Server' if online else 'Start Server'
failed = True if online else False
if failed:server_start()
if failed:server_stop()
else:
server_start(ip, port)
online = server.start(ip, port)
Expand Down Expand Up @@ -811,4 +811,4 @@ def logout():
if __name__ == '__main__':
try:app.run(debug=False)
except KeyboardInterrupt:pass
finally:server.stop(delay=False)
finally:server.stop(delay=False)

0 comments on commit 4a76afc

Please sign in to comment.