Skip to content

Commit

Permalink
Merge pull request #45 from bptlab/bugfix/environment-variables
Browse files Browse the repository at this point in the history
Fix environment variable issue in `main.py`, by removing it from the django scope
  • Loading branch information
FR-SON authored Jan 9, 2024
2 parents ebe7226 + 512058a commit 218b98c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tracex/extraction/prototype/main.py → command_line_tool.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
"""Module providing the main function."""
# pylint: disable=wrong-import-position
import os

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tracex.tracex.settings")
# pylint: enable=wrong-import-position

from tracex.extraction.prototype import input_inquiry as ii
from tracex.extraction.prototype import input_handling as ih
Expand Down

0 comments on commit 218b98c

Please sign in to comment.