Merge pull request #4172 from tomate44/fcinfo
fcinfo: support backup files
This commit is contained in:
+2
-1
@@ -213,7 +213,8 @@ if __name__ == '__main__':
|
||||
print(__doc__)
|
||||
sys.exit()
|
||||
|
||||
if not sys.argv[-1].lower().endswith(".fcstd"):
|
||||
ext = sys.argv[-1].rsplit(".")[-1].lower()
|
||||
if not ext.startswith("fcstd") and not ext.startswith("fcbak"):
|
||||
print(__doc__)
|
||||
sys.exit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user