mirror of
https://github.com/farisawan-2000/kirby64.git
synced 2024-11-23 13:20:03 +00:00
17 lines
249 B
Python
17 lines
249 B
Python
|
import sys, json
|
||
|
|
||
|
jb = []
|
||
|
with open(sys.argv[1]) as f:
|
||
|
jb = json.load(f)
|
||
|
|
||
|
fl = []
|
||
|
with open(sys.argv[2]) as f:
|
||
|
fl = f.readlines()
|
||
|
|
||
|
|
||
|
for line in fl:
|
||
|
if "." in line:
|
||
|
nm = line.split()[0]
|
||
|
if "assets/"+nm not in jb:
|
||
|
print("MISMATCH: %s" % nm)
|