Skip to content

Commit

Permalink
set processs higher up
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Sep 18, 2024
1 parent 1cb207a commit 4f34833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ofscraper/actions/actions/download/batch/downloadbatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ async def process_dicts(username, model_id, filtered_medialist, posts):
log = logging.getLogger("shared")
log.info("Downloading in batch mode")
log_text_array = []
processes = []
log_text_array.append(await textDownloader(posts, username=username))

common_globals.main_globals()
if read_args.retriveArgs().text_only:
return log_text_array, (0, 0, 0, 0, 0)
Expand Down
2 changes: 1 addition & 1 deletion ofscraper/actions/actions/metadata/batch/metadatabatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

def process_dicts(username, model_id, filtered_medialist):
log = logging.getLogger("shared")

processes = []
try:
common_globals.main_globals()
download_log_clear_helper()
Expand Down

0 comments on commit 4f34833

Please sign in to comment.