Skip to content

Commit

Permalink
fix green text not green
Browse files Browse the repository at this point in the history
  • Loading branch information
Official-Husko committed Jul 1, 2024
1 parent 34afd4e commit 6ff3246
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def Writer():
}
with open("config.json", "w") as cfg_file:
json.dump(template, cfg_file, indent=6)
print(colored(f"{info} New config file generated! Configure it and restart the program or wait 5 seconds and the program will continue with the default values."), "green")
print(colored(f"{info} New config file generated! Configure it and restart the program or wait 5 seconds and the program will continue with the default values.", "green"))
print("")
sleep(5)
return template
Expand Down
4 changes: 4 additions & 0 deletions modules/pixeldrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ def Uploader(file, proxy_list, user_agents, api_keys):

calc_size = Site_Data_CLSS.size_unit_calc(site, file_size)

print(api_keys)

api_key = api_keys.get("apiKey", False)

print(api_key)

if api_key in (False, ""):
raise Exception("Missing API Credentials?")

Expand Down

0 comments on commit 6ff3246

Please sign in to comment.