Exemple #1
0
def check_and_confirm(i):
    result = jlu_check(JLU_USERNAME,
                       JLU_PASSWORD,
                       **JLU_INFO,
                       nth=i,
                       file_path=None)
    if result == "success":
        info_print("check : check success!")
Exemple #2
0
 def check_and_confirm():
     result = jlu_check(JLU_USERNAME,
                        JLU_PASSWORD,
                        **JLU_INFO,
                        nth=i,
                        file_path=None)
     if result == "success":
         tecent_confirm(NAME_PART2, TECENT_XLXS_URL)
     info_print("check : check success!")
Exemple #3
0
 def check_and_upload(i):
     if args.old:
         abs_file_path = jlu_check_old(JLU_USERNAME, JLU_PASSWORD, SAVE_PATH)
     else:
         abs_file_path = jlu_check(JLU_USERNAME, JLU_PASSWORD, **JLU_INFO, nth=i, file_path=SAVE_PATH)
     if abs_file_path:
         assert SAVE_PATH != None
         upload_file(abs_file_path, XZC_CODE1, NAME_PART1, NAME_PART2)
     info_print("check : check success!")