Skip to content

Commit

Permalink
fix count for 0 downloads after a user with downloads in normal downl…
Browse files Browse the repository at this point in the history
…oader
  • Loading branch information
datawhores committed Sep 10, 2024
1 parent 22ed220 commit bd8502b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ async def process_dicts(username, model_id, medialist, posts):
download_log_clear_helper()
log_text_array.append(await textDownloader(posts, username=username) )
logging.getLogger("shared").info("Downloading in single thread mode")
common_globals.mainProcessVariableInit()
if read_args.retriveArgs().text_only:
return log_text_array, (0, 0, 0, 0, 0)
elif get_command() in {"manual","post_check","msg_check","story_check","paid_check"}:
Expand All @@ -62,7 +63,6 @@ async def process_dicts(username, model_id, medialist, posts):
return log_text_array, (0, 0, 0, 0, 0)
task1 = None
with progress_utils.setup_download_progress_live(multi=False):
common_globals.mainProcessVariableInit()
log = logging.getLogger("shared")
log.info("Downloading in main thread mode")
try:
Expand Down

0 comments on commit bd8502b

Please sign in to comment.