Update SWFChecker.py

(how did 1 edit fix everything)
This commit is contained in:
idkwhereisthisname 2025-04-22 17:30:49 +02:00 committed by GitHub
parent 3ffd182238
commit 440f6c633d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: