Skip to content

Commit

Permalink
Fixed extra_auths
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Oct 11, 2020
1 parent 32aeb86 commit 61b53f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datascraper/main_datascraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def start_datascraper():
if extra_auth:
choose_auth = extra_auth_settings["choose_auth"]
merge_auth = extra_auth_settings["merge_auth"]
json_auth_array += extra_auth_config[site_name_lower]["extra_auth"]
json_auth_array += extra_auth_config["supported"][site_name_lower]["auths"]
if choose_auth:
json_auth_array = main_helper.choose_auth(json_auth_array)
session_array = []
Expand Down Expand Up @@ -248,7 +248,7 @@ def start_datascraper():
continue
download = result["download"]
others = download.others
model_directory = os.path.join(others[0][2],others[0][3])
model_directory = os.path.join(others[0][2], others[0][3])
if not args.metadata:
for arg in others:
x.download_media(*arg)
Expand Down

0 comments on commit 61b53f3

Please sign in to comment.