Skip to content

Commit dcb804b

Browse files
committed
Remove module __main__ chdir for /usr/bin script
1 parent e168239 commit dcb804b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
path = os.path.dirname(__file__)
1616

17-
os.chdir(path)
1817
sys.path.insert(0, path)
1918

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

0 commit comments

Comments
 (0)