Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerpq authored Oct 31, 2023
1 parent 8bcda0e commit 44af66b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repthon/Config/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Config
Config vars will be loaded from here
1 change: 1 addition & 0 deletions repthon/Config/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .zedub_config import Config
10 changes: 10 additions & 0 deletions repthon/Config/zedub_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# config values will be loaded from here

import os

ENV = bool(os.environ.get("ENV", False))

if ENV:
from sample_config import Config # noqa
elif os.path.exists("config.py"):
from config import Development as Config # noqa
1 change: 1 addition & 0 deletions repthon/Config/zss.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 44af66b

Please sign in to comment.