turn pause into even number for world clock
This commit is contained in:
parent
94220a0409
commit
c9b6adc9c7
@ -7855,6 +7855,8 @@ class StockTicker():
|
|||||||
istan_timezone = pytz.timezone('Europe/Istanbul')
|
istan_timezone = pytz.timezone('Europe/Istanbul')
|
||||||
|
|
||||||
pause = int(worldclock_set['pause'])
|
pause = int(worldclock_set['pause'])
|
||||||
|
if pause % 2 != 0:
|
||||||
|
pause += 1
|
||||||
transition = worldclock_set['transition'].lower()
|
transition = worldclock_set['transition'].lower()
|
||||||
if worldclock_set['speed'].lower() == 'slow':
|
if worldclock_set['speed'].lower() == 'slow':
|
||||||
speed = 0.05
|
speed = 0.05
|
||||||
|
Loading…
Reference in New Issue
Block a user