Skip to content

Commit

Permalink
Requires env varialbes to be set. Moved to another directory
Browse files Browse the repository at this point in the history
  • Loading branch information
frostmorn committed Mar 30, 2024
1 parent 4f7f34d commit 800f143
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
templates_path = os.getenv("KEIRA_TEMPLATES_PATH")
source_path = os.getenv("KEIRA_SOURCE_PATH")

if templates_path == None:
templates_path = "templates"
if source_path == None:
source_path = ""
if templates_path == None or source_path == None:
print("Env variables not set. Exiting")
exit(-1)

date = datetime.datetime.now().ctime()
name = ""
what_to = ""
Expand Down

0 comments on commit 800f143

Please sign in to comment.