bitmessagemain flake8 Fixes

This commit is contained in:
lakshyacis 2019-08-29 15:33:14 +05:30
parent 395fbcd0f0
commit cc869d0426
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
1 changed files with 6 additions and 6 deletions

View File

@ -419,8 +419,8 @@ class Main:
if daemon: if daemon:
while state.shutdown == 0: while state.shutdown == 0:
time.sleep(1) time.sleep(1)
if (state.testmode and if (
time.time() - state.last_api_response >= 30): state.testmode and time.time() - state.last_api_response >= 30):
self.stop() self.stop()
elif not state.enableGUI: elif not state.enableGUI:
from tests import core as test_core # pylint: disable=relative-import from tests import core as test_core # pylint: disable=relative-import