diff options
| -rw-r--r-- | python/process_queue.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/process_queue.py b/python/process_queue.py index 5b489625..cbb677df 100644 --- a/python/process_queue.py +++ b/python/process_queue.py @@ -459,10 +459,8 @@ if __name__ == "__main__": help="do not upload to Globeop") args = parser.parse_args() q = get_redis_queue() - import os - from pathlib import Path try: - base_dir = Path(os.environ["DAILY_DIR"]) + from env import DAILY_DIR except KeyError: sys.exit("Please set path of daily directory in 'DAILY_DIR'") |
