Added error supressing / encoding to terminal output

This commit is contained in:
Justin Emter
2017-08-06 18:45:11 -07:00
parent f096018a19
commit a836ce2eeb
2 changed files with 7 additions and 7 deletions

View File

@@ -583,10 +583,10 @@ class PseudoDailyScheduleController():
def play(self, row, datalist):
print "##### Starting Media: '{}'".format(row[3])
print str("##### Starting Media: '{}'".format(row[3])).encode('UTF-8')
if self.DEBUG:
print(row)
print str(row).encode('UTF-8')
timeB = datetime.strptime(row[8], '%I:%M:%S %p')