i3pystatus/ice-status.py cast time to int

This commit is contained in:
Von Birne 2021-11-29 23:42:39 +01:00
parent 7d541c9f7e
commit a4d873becd

View file

@ -67,7 +67,7 @@ try:
ice_status['speed'],
next_stop,
ice_status['connectivity']['currentState'],
format_time(ice_status['connectivity']['remainingTimeSeconds']),
format_time(int(ice_status['connectivity']['remainingTimeSeconds'])),
ice_status['connectivity']['nextState'],
))
except Exception as e: