mirror of
https://github.com/FakeTV/pseudo-channel.git
synced 2025-12-21 18:53:42 +00:00
Looping through commercials over 100 times trying to fill up time.
This commit is contained in:
@@ -112,7 +112,7 @@ class PseudoChannelCommercial():
|
|||||||
|
|
||||||
print "here", time_diff.seconds
|
print "here", time_diff.seconds
|
||||||
|
|
||||||
while curr_item_start_time > new_commercial_start_time and (count) < len(self.commercials):
|
while curr_item_start_time > new_commercial_start_time and (count) < len(self.commercials)*100:
|
||||||
|
|
||||||
random_commercial = self.get_random_commercial()
|
random_commercial = self.get_random_commercial()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user