|
@@ -169,7 +169,7 @@ class PiaoQuanPipeline(object):
|
|
|
"""
|
|
|
if self.red.connect():
|
|
|
index_txt = "{}-{}".format(self.platform, self.item['video_id'])
|
|
|
- index_md5 = hashlib.md5(index_txt.encode())
|
|
|
+ index_md5 = hashlib.md5(index_txt.encode()).hexdigest()
|
|
|
if self.red.select(index_md5):
|
|
|
self.aliyun_log.logging(
|
|
|
code="2007",
|