|
@@ -449,10 +449,11 @@ class KuaiShou:
|
|
|
@classmethod
|
|
|
def run_download_publish(cls):
|
|
|
try:
|
|
|
- if len(Feishu.get_values_batch("Zt2PGQ")) == 1:
|
|
|
- pass
|
|
|
- else:
|
|
|
- cls.download_publish("prod")
|
|
|
+ while True:
|
|
|
+ if len(Feishu.get_values_batch("Zt2PGQ")) == 1:
|
|
|
+ break
|
|
|
+ else:
|
|
|
+ cls.download_publish("prod")
|
|
|
except Exception as e:
|
|
|
Common.logger().error(e)
|
|
|
|