mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-06-06 12:29:36 +00:00
Fix a bug with claim method returning False for already claimed drops
This commit is contained in:
@@ -53,7 +53,7 @@ class BaseDrop:
|
||||
|
||||
@property
|
||||
def can_claim(self) -> bool:
|
||||
return self.claim_id is not None and not self.is_claimed
|
||||
return self.claim_id is not None
|
||||
|
||||
def rewards_text(self, delim: str = ", ") -> str:
|
||||
return delim.join(self.rewards)
|
||||
|
||||
Reference in New Issue
Block a user