aboutsummaryrefslogtreecommitdiffstats
path: root/common/__init__.py
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-02-01 20:32:11 +0100
committerDennis Eriksen <d@ennis.no>2023-02-01 20:32:11 +0100
commit8d186d39483beff64a1c11f80c6ca5e56dd7bbc5 (patch)
tree2c5a64ace4bd8eabd4d65014c5313bd7edd76191 /common/__init__.py
parentrun queue in batches (diff)
downloadenergyscripts-8d186d39483beff64a1c11f80c6ca5e56dd7bbc5.tar.gz
moving and renaming/breaking everything
Diffstat (limited to 'common/__init__.py')
-rw-r--r--common/__init__.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/__init__.py b/common/__init__.py
deleted file mode 100644
index 89977d2..0000000
--- a/common/__init__.py
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env python3
-''' common functions and stuff '''
-
-import os
-
-
-QUEUE = bool(os.environ.get('el_QUEUE', False))
-
-# Initialize queue
-if QUEUE is True:
- from .queue import dbi
-else:
- from .postgres import dbi