fcinfo: support FCBak backup files
This commit is contained in:
@@ -213,7 +213,8 @@ if __name__ == '__main__':
|
||||
print(__doc__)
|
||||
sys.exit()
|
||||
|
||||
if not sys.argv[-1].rsplit(".")[-1].lower().startswith("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