forked from indymedia/epicyon
Only check time on the day
parent
b994d534a2
commit
4cf2d88d99
|
@ -58,6 +58,7 @@ def updatePostSchedule(baseDir: str,handle: str,httpd,maxScheduledPosts: int) ->
|
||||||
if daysSinceEpoch < postDaysSinceEpoch:
|
if daysSinceEpoch < postDaysSinceEpoch:
|
||||||
print('DEBUG: schedule not yet date')
|
print('DEBUG: schedule not yet date')
|
||||||
continue
|
continue
|
||||||
|
if daysSinceEpoch == postDaysSinceEpoch:
|
||||||
if currTime.time().hour < postTime.time().hour:
|
if currTime.time().hour < postTime.time().hour:
|
||||||
print('DEBUG: schedule not yet hour')
|
print('DEBUG: schedule not yet hour')
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue