Skip to content

Commit

Permalink
refactor: update timestamp format in DAQJobN1081B
Browse files Browse the repository at this point in the history
  • Loading branch information
furkan-bilgin committed Oct 12, 2024
1 parent 995b825 commit 004ce53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daq/caen/n1081b.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _poll_sections(self):
def _send_store_message(self, data: dict, section):
keys = ["timestamp", *[f"lemo_{x['lemo']}" for x in data["counters"]]]
values = [
int(datetime.now().timestamp()),
datetime.now().timestamp(),
*[x["value"] for x in data["counters"]],
]
self.message_out.put(
Expand Down

0 comments on commit 004ce53

Please sign in to comment.