added a way to down invalid items

This commit is contained in:
faroukbmiled 2023-10-05 20:57:36 +01:00
parent 3a0674068a
commit 19cdbccf8b

View File

@ -172,7 +172,7 @@ def initialize_steam(master):
@if_internet_available
def valid_id(workshop_id):
data = item_steam_api(workshop_id)
if check_config("skip_valid", "no") == "skip":
if check_config("skip_invalid", "skip") == "no":
if data:
return True
if "consumer_app_id" in data['response']['publishedfiledetails'][0]: