mirror of
https://wiilab.wiimart.org/wiimart/SWF-Checker
synced 2025-09-02 19:41:06 +02:00
Update SWFChecker.py
(how did 1 edit fix everything)
This commit is contained in:
parent
3ffd182238
commit
440f6c633d
@ -6,10 +6,10 @@ platf = platform
|
||||
if platf == "linux" or "linux2" or "darwin":
|
||||
os.system("clear")
|
||||
elif platf == "win32":
|
||||
os.system("title SWF Checker v2.0")
|
||||
os.system("title SWF Checker v2.1")
|
||||
os.system("cls")
|
||||
|
||||
print(f"SWF Version Checker v1.1\nPython {version}")
|
||||
print(f"SWF Version Checker v2.1\nPython {version}")
|
||||
|
||||
try:
|
||||
swf = input("SWF Filename: ").strip()
|
||||
@ -54,7 +54,7 @@ def CheckSWF(swf):
|
||||
|
||||
# looks for doaction (as2/1 only)
|
||||
doact_idx = obj.find(b'\x0C')
|
||||
if doact_idx != -1:
|
||||
if doact_idx != -1 and not result_isas3:
|
||||
result_isas3 = False
|
||||
|
||||
if flashver < 9:
|
||||
|
Loading…
x
Reference in New Issue
Block a user