mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Corrected typo in reccmp.py (#169)
This commit is contained in:
@@ -114,7 +114,7 @@ class WinePathConverter:
|
|||||||
|
|
||||||
def get_wine_path(self, unix_fn: str) -> str:
|
def get_wine_path(self, unix_fn: str) -> str:
|
||||||
if unix_fn.startswith('./'):
|
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):
|
if unix_fn.startswith(self.unix_cwd):
|
||||||
return self.win_cwd + '\\' + unix_fn.removeprefix(self.unix_cwd).replace('/', '\\').lstrip('\\')
|
return self.win_cwd + '\\' + unix_fn.removeprefix(self.unix_cwd).replace('/', '\\').lstrip('\\')
|
||||||
return self._call_winepath_unix2win(unix_fn)
|
return self._call_winepath_unix2win(unix_fn)
|
||||||
|
Reference in New Issue
Block a user