mirror of
https://github.com/iKarith/cppo-ng.git
synced 2024-06-14 13:29:59 +00:00
Remove a couple needless slyce's
This commit is contained in:
parent
a496c6bc0f
commit
3129db5989
7
cppo
7
cppo
|
@ -1309,11 +1309,8 @@ if (len(g.imageData) == 143360):
|
|||
print("Warning: Unable to determine disk format, assuming ProDOS.")
|
||||
|
||||
# enforce leading slash if ProDOS
|
||||
if (not g.SHK and
|
||||
not g.D33 and
|
||||
g.extractFile and
|
||||
(slyce(args[2],0,1) != "/") and
|
||||
(slyce(args[2],0,1) != ":")):
|
||||
if (not g.SHK and not g.D33 and g.extractFile and
|
||||
(args[2][0] not in ('/', ':'))):
|
||||
usage()
|
||||
|
||||
if g.D33:
|
||||
|
|
Loading…
Reference in New Issue
Block a user