Skip to content

Commit

Permalink
less than 0 isn't 0
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Apr 12, 2024
1 parent 085845a commit cd81568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def fetch_class_mappings(css_translations_path : str, loader : Loader):

setting = util_store_read("beta_translations")

if ((len(setting.strip()) < 0 or setting == "-1" or setting == "auto") and is_steam_beta_active()) or (setting == "1" or setting == "true"):
if ((len(setting.strip()) <= 0 or setting == "-1" or setting == "auto") and is_steam_beta_active()) or (setting == "1" or setting == "true"):
css_translations_url = "https://api.deckthemes.com/beta.json"
else:
css_translations_url = "https://api.deckthemes.com/stable.json"
Expand Down

0 comments on commit cd81568

Please sign in to comment.