Skip to content

Commit

Permalink
hlogger had opposite of correct logic to trap error
Browse files Browse the repository at this point in the history
  • Loading branch information
trmrsh committed Jun 4, 2021
1 parent 5c0fc13 commit 81625c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hipercam/scripts/hlogger.py
Expand Up @@ -520,7 +520,7 @@ def hlogger(args=None):
# files with invalid framesizes so we
# don't bother saying anythin with these

if instrument == 'HiPERCAM' or str(err).find('Framesize') > -1:
if instrument == 'HiPERCAM' or str(err).find('Framesize')== -1:
exc_type, exc_value, exc_traceback = sys.exc_info()
traceback.print_tb(
exc_traceback, limit=1, file=sys.stdout
Expand Down

0 comments on commit 81625c4

Please sign in to comment.