Skip to content

Commit

Permalink
split.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Jul 17, 2024
1 parent f5b2509 commit f2313d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamutrflib/gamutrflib/zmqbucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def read_buff_file(self, log):
if log:
log.write(txt_buf)
try:
lines = [json.loads(line) for line in txt_buf.splitlines()]
lines = [json.loads(line) for line in txt_buf.splitlines() if line]
except json.decoder.JSONDecodeError as err:
logging.info("%s: %s", err, txt_buf)
os.remove(self.buff_file)
Expand Down

0 comments on commit f2313d8

Please sign in to comment.