main
noah metz 2024-01-19 21:37:36 -07:00
parent 3689a35410
commit 1017a0d321
1 changed files with 4 additions and 0 deletions

@ -75,5 +75,9 @@ for path in in_path.rglob("*.co"):
with open(str(py_file), 'w') as decompiled: with open(str(py_file), 'w') as decompiled:
uncompyle6.main.decompile_file(str(pyc_file), decompiled) uncompyle6.main.decompile_file(str(pyc_file), decompiled)
except KeyboardInterrupt:
break
except: except:
print("Failed to decompile %s" % path) print("Failed to decompile %s" % path)
else:
print("Decompiled %s" % path)