mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[utils] Add missing null check
This commit is contained in:
parent
0298a53315
commit
4a4e1397d4
|
@ -59,6 +59,7 @@ def query_registry_entries(prefix=None):
|
|||
else:
|
||||
overlay_path = None
|
||||
|
||||
if overlay_path:
|
||||
if overlay_path.startswith('C:'):
|
||||
overlay_path = os.path.join(prefix, 'drive_c', overlay_path[3:])
|
||||
elif overlay_path.startswith('Z:'):
|
||||
|
|
Loading…
Reference in a new issue