diff options
author | Dennis Eriksen <d@ennis.no> | 2023-11-02 12:44:44 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-11-02 12:44:44 +0100 |
commit | 3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2 (patch) | |
tree | b7f4559cf252a32990f5e462dc09b2a9ad23c9b4 /scripts/queue_runner.py | |
parent | add comment about manual starttime (diff) | |
download | energyscripts-3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2.tar.gz |
adding linting with ruff
Diffstat (limited to 'scripts/queue_runner.py')
-rw-r--r-- | scripts/queue_runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/queue_runner.py b/scripts/queue_runner.py index 0264d83..9ed52f2 100644 --- a/scripts/queue_runner.py +++ b/scripts/queue_runner.py @@ -2,12 +2,12 @@ ''' move items from queue to database ''' import os -import time import pickle import sqlite3 -from litequeue import SQLQueue +import time from common.postgres import dbi +from litequeue import SQLQueue QUEUE_DB = os.environ.get('el_QUEUE_db', 'litequeue.db') QUEUE_DIR = os.environ.get('el_QUEUE_dir', 'queue') |