代码优化
This commit is contained in:
parent
1ff3c1f51d
commit
f103de647f
|
|
@ -26,7 +26,6 @@ class AllTask:
|
|||
async def deal_shopee_task(self, param: Dict[str, Any]):
|
||||
"""
|
||||
处理Shopee任务的异步方法
|
||||
修复了NoneType对象无法await的问题
|
||||
"""
|
||||
key = f"{param['app_name'].lower()}:{param['region'].lower()}"
|
||||
result = self.redis_conn.read_data(key)
|
||||
|
|
|
|||
Loading…
Reference in New Issue