.mod vs .MOD (case sensitivity)
Brought to you by:
baloan
Originally created by: GChriss@…
modcopy expects .mod and .moi extensions to be in upper-case, but this is not always true. A quick edit to check for lower-case files:
if ext.upper() != ".MOD":
continue
fnbase = os.path.join(root, fn)
moi_fp = "".join((fnbase, ".MOI"))
-to-
if ext.lower() != ".mod":
continue
fnbase = os.path.join(root, fn)
moi_fp = "".join((fnbase, ".moi"))