Skip to content

Commit

Permalink
Remove module __main__ chdir for /usr/bin script
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanrhu committed Apr 20, 2022
1 parent e168239 commit dcb804b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

path = os.path.dirname(__file__)

os.chdir(path)
sys.path.insert(0, path)

spec = importlib.util.spec_from_file_location("run", os.path.join(os.path.dirname(__file__), "run.py"))
Expand Down

0 comments on commit dcb804b

Please sign in to comment.