mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Fix edl wl
for Windows
This commit is contained in:
parent
fdf036223e
commit
8fb292a2a8
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ class firehose_client(metaclass=LogBase):
|
|||
self.error("Error: Can not fetch GPT table from device, you may need to use `edl w gpt` to write a partition table first.`")
|
||||
break
|
||||
for filename in filenames:
|
||||
partname = filename[filename.rfind("/") + 1:]
|
||||
partname = os.path.basename(filename)
|
||||
if ".bin" in partname[-4:] or ".img" in partname[-4:] or ".mbn" in partname[-4:]:
|
||||
partname = partname[:-4]
|
||||
if partname in skip:
|
||||
|
|
Loading…
Reference in a new issue