mirror of
https://github.com/simon987/chan_feed.git
synced 2025-12-14 04:59:02 +00:00
update boards
This commit is contained in:
2
run.py
2
run.py
@@ -164,7 +164,7 @@ def publish(item, board, helper):
|
||||
)
|
||||
|
||||
if MONITORING:
|
||||
distance = datetime.utcnow() - datetime.fromtimestamp(helper.item_mtime(item))
|
||||
distance = datetime.utcnow() - datetime.utcfromtimestamp(helper.item_mtime(item))
|
||||
monitoring.log([{
|
||||
"measurement": chan,
|
||||
"time": str(datetime.utcnow()),
|
||||
|
||||
Reference in New Issue
Block a user