Skip to content

Commit

Permalink
fix setup config when running from run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
estella144 committed Sep 19, 2024
1 parent 69aac89 commit 258bb2b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions py/parashell/parashell.cpython-312.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# uncompyle6 version 3.9.2
# Python bytecode version base 3.12.0 (3531)
# Decompiled from: Python 3.12.2 (main, Mar 16 2024, 10:12:12) [Clang 15.0.0 (clang-1500.0.40.1)]
# Embedded file name: /Users/tnguyen/New/parashell/py/parashell/parashell.py
# Compiled at: 2024-09-14 20:21:01
# Size of source mod 2**32: 15446 bytes
7 changes: 4 additions & 3 deletions py/parashell/parashell.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ def main() -> None:
'''Starts Parashell.'''

global DEV_STATE
global VERSION

NOTICE = """Parashell Copyright (C) 2024 Oliver Nguyen
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
Expand All @@ -431,6 +432,9 @@ def main() -> None:
<github.com/estella144/parashell/issues>"""

parashell_dir = os.getcwd()
setup_config()

print(f"Starting Parashell {VERSION}...")

clear_screen()

Expand All @@ -447,7 +451,4 @@ def main() -> None:
main_loop(parashell_dir)

if __name__ == "__main__":
print("Starting Parashell...")
setup_config()
main()
print("Goodbye")

0 comments on commit 258bb2b

Please sign in to comment.