Skip to content

Commit

Permalink
TLDR-413 review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NastyBoget committed Jul 17, 2023
1 parent 1527707 commit 6d7e855
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dedoc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
format="%(asctime)s - %(pathname)s - %(levelname)s - %(message)s")

DEBUG_MODE = False
RESOURCES_PATH = os.environ.get('RESOURCES_PATH', os.path.join(os.path.expanduser('~'), ".cache", "dedoc", "resources"))

_config = dict(
# -----------------------------------------RESOURCES PATH SETTINGS----------------------------------------------------
resources_path=os.environ.get('RESOURCES_PATH', os.path.join(os.path.expanduser('~'), ".cache", "dedoc", "resources")),
intermediate_data_path=os.environ.get('RESOURCES_PATH', os.path.join(os.path.expanduser('~'), ".cache", "dedoc", "resources", "datasets")),
resources_path=RESOURCES_PATH,
intermediate_data_path=os.path.join(RESOURCES_PATH, "datasets"),

# -----------------------------------------COMMON DEBUG SETTINGS----------------------------------------------------
debug_mode=DEBUG_MODE,
Expand Down

0 comments on commit 6d7e855

Please sign in to comment.