This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from AnonymousX86/release-v0.2.2
Release v0.2.2
- Loading branch information
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
from os import getenv | ||
|
||
from FTE.chapters import chapter_one | ||
from FTE.menus import main_menu | ||
from FTE.settings import DEBUG | ||
|
||
|
||
if __name__ == '__main__': | ||
if not bool(getenv('DEBUG', False)): | ||
if not DEBUG: | ||
main_menu() | ||
chapter_one() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
from os import getenv | ||
|
||
|
||
DEBUG: bool = bool(getenv('DEBUG', False)) | ||
DEBUG: bool = bool(int(getenv('DEBUG', 0))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters