Skip to content

Commit d393987

Browse files
committed
Reverted the change for Windows long paths, since they're not working properly yet.
1 parent 06fdc25 commit d393987

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

command_line.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,10 +1258,7 @@ def my_excepthook(type_, value, tback):
12581258
if args.quiet:
12591259
command_base.quiet = True
12601260

1261-
if utils.is_windows() and os.path.isabs(args.project_dir):
1262-
command_base._project_dir = u'//?/' + args.project_dir
1263-
else:
1264-
command_base._project_dir = args.project_dir
1261+
command_base._project_dir = args.project_dir
12651262

12661263
command_base._output_dir = (args.output_dir or
12671264
utils.path_join(command_base._project_dir, 'output'))

utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ def get_data_path(dir_path):
4040
dirs = AppDirs('Web2Executable', 'Web2Executable')
4141
data_path = path_join(dirs.user_data_dir, *parts)
4242

43-
if is_windows() and os.path.isabs(data_path):
44-
data_path = u'//?/' + data_path
45-
4643
if not os.path.exists(data_path):
4744
os.makedirs(data_path)
4845

0 commit comments

Comments
 (0)