Sfoglia il codice sorgente

!2 change refresh times

pcacc 5 mesi fa
parent
commit
618db49b93
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      dongri_task.py

+ 2 - 2
dongri_task.py

@@ -733,11 +733,11 @@ class task_activity_lianmeng(dongri_task):
                         
         maxTryTimes = 2
         while waitClickImg_noWait_withBool(special_activity_img.owning, 2, 1) == True:
+            waitClickImg_noWait_withBool(special_activity_img.refresh_task, 2, 1)
+            waitClickImg_noWait_withBool(special_activity_img.refresh, 2, 1)
             maxTryTimes -= 1
             if maxTryTimes <= 0:
                 break
-            waitClickImg_noWait_withBool(special_activity_img.refresh_task, 2, 1)
-            waitClickImg_noWait_withBool(special_activity_img.refresh, 2, 1)
         return True