Skip to content

Commit

Permalink
digest.py -- another tweak after yet more odd files
Browse files Browse the repository at this point in the history
an .xml.old~ file appeared, sigh
  • Loading branch information
trmrsh committed Apr 6, 2021
1 parent aa805ce commit 37d8ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hipercam/scripts/digest.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def digest(args=None):
with open(md5) as fin:
for line in fin:
hash, name = line.split()
if not name.endswith(".old"):
if name.endswith(".xml") or name.endswith(".dat"):
mruns.append(name[: name.rfind(".")])

else:
Expand Down

0 comments on commit 37d8ca3

Please sign in to comment.