Skip to content

Commit fde2016

Browse files
author
stonebig
committed
bug fix
1 parent d0e12c4 commit fde2016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winpython/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ def patch_shebang_line(fname, pad=b' ', to_movable=True):
292292

293293
import re
294294
import sys
295+
import os
295296
target_dir = ""
296297
if to_movable == False:
297-
import os
298298
target_dir = os.path.abspath(os.path.dirname(fname))
299299
target_dir = os.path.abspath(os.path.join(target_dir, r'..')) + '\\'
300300

0 commit comments

Comments
 (0)