fixed linting

This commit is contained in:
brb
2023-07-11 10:00:44 +02:00
parent 5e5fb31767
commit cfbf544110
+2 -2
View File
@@ -1,11 +1,11 @@
import time import time
import logging import logging
import time
import os import os
from initialise_app import initialise_app from initialise_app import initialise_app
from bandwidth import measure as measure_bandwidth from bandwidth import measure as measure_bandwidth
from database import connect from database import connect
def event(): def event():
logging.info('started event') logging.info('started event')
# get env vars # get env vars
@@ -35,6 +35,7 @@ def event():
time.sleep(1) time.sleep(1)
logging.info('finished event') logging.info('finished event')
if __name__ == '__main__': if __name__ == '__main__':
initialise_app() initialise_app()
trigger_time = time.time() trigger_time = time.time()
@@ -48,4 +49,3 @@ if __name__ == '__main__':
except Exception as e: except Exception as e:
logging.error(e) logging.error(e)
time.sleep(1) time.sleep(1)