mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
Corrected typo in reccmp.py (#169)
This commit is contained in:
parent
666c65fa4f
commit
5ac6cf55a9
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def __init__(self, unix_cwd):
|
|||
|
||||
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…
Reference in a new issue