Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
added checking for account.skins to be > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
LIL-JABA committed Apr 17, 2024
1 parent 27c28ae commit 200a759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def checker(self, username, password):
check.skins_en(account)
check.balance(account)
skinscount = len(account.skins)
if account.skins[0] == "N/A":
if len(account.skins) == 1 and account.skins[0] == "N/A":
skinscount = -1
if skinscount > 0 and account.banuntil == None:
self.skins += 1
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class program():
def __init__(self) -> None:
self.count = 0
self.checked = 0
self.version = '3.17.0.3'
self.version = '3.17.0.4'
self.riotlimitinarow = 0
path = os.getcwd()
self.parentpath = os.path.abspath(os.path.join(path, os.pardir))
Expand Down

0 comments on commit 200a759

Please sign in to comment.