From 3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 2 Nov 2023 12:44:44 +0100 Subject: adding linting with ruff --- scripts/queue_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/queue_runner.py') 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') -- cgit v1.2.3