mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-22 19:41:04 -04:00
Corrected typo in reccmp.py (#169)
This commit is contained in:
parent
666c65fa4f
commit
5ac6cf55a9
@ -114,7 +114,7 @@ class WinePathConverter:
|
||||
|
||||
def get_wine_path(self, unix_fn: str) -> str:
|
||||
if unix_fn.startswith('./'):
|
||||
return self.win_cmd + '\\' + unix_fn[2:].replace('/', '\\')
|
||||
return self.win_cwd + '\\' + unix_fn[2:].replace('/', '\\')
|
||||
if unix_fn.startswith(self.unix_cwd):
|
||||
return self.win_cwd + '\\' + unix_fn.removeprefix(self.unix_cwd).replace('/', '\\').lstrip('\\')
|
||||
return self._call_winepath_unix2win(unix_fn)
|
||||
|
Loading…
x
Reference in New Issue
Block a user