Skip to content

Commit

Permalink
feat: remove the need to have a pro torbox acc
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy committed Nov 24, 2024
1 parent 6b0802a commit 253bfea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion comet/debrid/torbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def check_premium(self):
f"{self.api_url}/user/me?settings=false"
)
check_premium = await check_premium.text()
if '"success":true' in check_premium and '"plan":0' not in check_premium:
if '"success":true' in check_premium:
return True
except Exception as e:
logger.warning(f"Exception while checking premium status on TorBox: {e}")
Expand Down
2 changes: 1 addition & 1 deletion comet/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@
<div class="form-item">
<sl-select id="debridService" value="debridlink" label="Debrid Service" placeholder="Select debrid service">
<sl-option value="debridlink">Debrid-Link</sl-option>
<sl-option value="alldebrid">All-Debrid</sl-option>
<sl-option value="torbox">TorBox</sl-option>
<sl-option value="alldebrid">All-Debrid</sl-option>
<sl-option value="premiumize">Premiumize</sl-option>
<sl-option value="realdebrid">Real-Debrid</sl-option>
</sl-select>
Expand Down

0 comments on commit 253bfea

Please sign in to comment.