Merge pull request #4172 from tomate44/fcinfo

fcinfo: support backup files
This commit is contained in:
Yorik van Havre
2020-12-23 14:08:46 +01:00
committed by GitHub
+2 -1
View File
@@ -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()