Minor fixes, removing the auto xml/html generation when using the -g flag.

This commit is contained in:
Justin Emter
2017-09-11 18:50:11 -07:00
parent b55f3bdcf6
commit 9d36aef5de

View File

@@ -512,7 +512,7 @@ class PseudoChannel():
previous_episode.end_time, previous_episode.end_time,
entry.natural_start_time, entry.natural_start_time,
previous_episode.time_shift, previous_episode.time_shift,
previous_episode.overlap_max ""
) )
print "++++ New start time:", new_starttime print "++++ New start time:", new_starttime
entry.start_time = datetime.datetime.strptime(new_starttime, self.APP_TIME_FORMAT_STR).strftime('%I:%M:%S %p') entry.start_time = datetime.datetime.strptime(new_starttime, self.APP_TIME_FORMAT_STR).strftime('%I:%M:%S %p')
@@ -530,7 +530,7 @@ class PseudoChannel():
else: else:
self.db.add_media_to_daily_schedule(entry) self.db.add_media_to_daily_schedule(entry)
previous_episode = entry previous_episode = entry
self.make_xml_schedule() #self.make_xml_schedule()
def run_commercial_injection(self): def run_commercial_injection(self):