mirror of
https://github.com/FakeTV/pseudo-channel.git
synced 2025-12-22 11:13:28 +00:00
Add files via upload
This commit is contained in:
@@ -579,6 +579,17 @@ class PseudoDailyScheduleController():
|
||||
row[6] if row[11] == "TV Shows" else row[3]
|
||||
)
|
||||
|
||||
|
||||
elif (timeBStart - timeBEnd).total_seconds() >= 0 and \
|
||||
((currentTime-timeBStart).total_seconds() >= 0 or (timeBEnd-currentTime).total_seconds() >= 0) :
|
||||
|
||||
print "+++++ DAY SKIP Made the conditional & found item: {}".format(row[6])
|
||||
|
||||
return self.get_show_photo(
|
||||
row[13],
|
||||
row[6] if row[11] == "TV Shows" else row[3]
|
||||
)
|
||||
|
||||
else:
|
||||
|
||||
pass
|
||||
@@ -613,12 +624,19 @@ class PseudoDailyScheduleController():
|
||||
#print timeBStart.minute
|
||||
|
||||
if (currentTime - timeBStart).total_seconds() >= 0 and \
|
||||
(timeBEnd - currentTime).total_seconds() >= 0:
|
||||
(timeBEnd - currentTime).total_seconds() >= 0 :
|
||||
|
||||
print "+++++ Made the conditional & found item: {}".format(row[6])
|
||||
|
||||
return row[6] + " - " + row[3] if row[11] == "TV Shows" else row[3]
|
||||
|
||||
elif (timeBStart - timeBEnd).total_seconds() >= 0 and \
|
||||
((currentTime-timeBStart).total_seconds() >= 0 or (timeBEnd-currentTime).total_seconds() >= 0) :
|
||||
|
||||
print "+++++ DAY SKIP Made the conditional & found item: {}".format(row[6])
|
||||
|
||||
return row[6] + " - " + row[3] if row[11] == "TV Shows" else row[3]
|
||||
|
||||
else:
|
||||
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user