Merge pull request #77 from BoboTiG/patch-1

win/legacy: tiny logic simplification
This commit is contained in:
Andrew Senetar 2023-04-26 23:36:39 -05:00 committed by GitHub
commit d6d904c774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -86,10 +86,7 @@ def convert_sh_file_opt_result(result):
0x10074: 0x57, # DE_ROOTDIR | ERRORONDEST -> ERROR_INVALID_PARAMETER
}
if result in results.keys():
return results[result]
else:
return result
return results.get(result, result)
def prefix_and_path(path):