Fix warning message spam from previous commit

This commit is contained in:
Tellow Krinkle
2018-11-10 03:35:25 -06:00
parent 36f2c3ecd5
commit 63b15f6190
2 changed files with 2 additions and 1 deletions

View File

@@ -191,6 +191,7 @@ class FontFile:
if len(sys.argv) <= 3:
print("Usage: " + sys.argv[0] + " monobehaviour.dat charset.txt outputMonoBehaviour.dat")
exit(0)
with open(sys.argv[1], "rb") as tmp:
tmpAsset = FontFile(tmp.read(), sys.argv[1])