Skip to content

Commit 732dff5

Browse files
InfernioSharlikran
authored andcommitted
Fix crash when Mopy folder contains dots
The '.root' call obviously chops off anything that comes after a dot. No idea why it's there, it was introduced that way back in 2010: wrye-bash@2a540c9#diff-18ab33ece44d780df4fd70a9ad859979R19655
1 parent 8a7b6ba commit 732dff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mopy/bash/initialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def init_dirs_mopy_and_cd(is_standalone):
251251
unicode(sys.argv[0], Path.sys_fs_enc))
252252
if pathToProg:
253253
os.chdir(pathToProg)
254-
dirs['mopy'] = Path.getcwd().root
254+
dirs['mopy'] = Path.getcwd()
255255
dirs['bash'] = dirs['mopy'].join(u'bash')
256256
dirs['compiled'] = dirs['bash'].join(u'compiled')
257257
dirs['l10n'] = dirs['bash'].join(u'l10n')

0 commit comments

Comments
 (0)