142
142
self.logger.critical("Block %s on %s does not have a %s!" %s (timeBlock,dateBlock,item))
143
143
raise PlayListImportErrorException()
146
145
#blockid is date with seconds, move to unix timestamp
147
146
blockId = ((int(dateBlock) * 10000) + int(timeBlock)) * 100
148
147
blockId = datetime.datetime.strptime(str(blockId), "%Y%m%d%H%M%S")