mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
Merge pull request #54 from SemjonKerner/fixup_is_subbed
Fixup notification checkbox
This commit is contained in:
commit
4dac4256a9
@ -53,7 +53,7 @@ def register_user():
|
||||
|
||||
@fallback(None)
|
||||
def send_notification(message):
|
||||
if not is_subbed():
|
||||
if not is_subbed()[0]:
|
||||
return False
|
||||
|
||||
body = {"uid": config.get("uid"), "message": message, "apiversion":apiversion}
|
||||
@ -63,7 +63,7 @@ def send_notification(message):
|
||||
@uses_session
|
||||
@fallback(None)
|
||||
def send_hole_deplete(fish_caught, hole_time, fish_times):
|
||||
if not is_subbed():
|
||||
if not is_subbed()[0]:
|
||||
return False
|
||||
|
||||
hole_data = {
|
||||
|
Loading…
Reference in New Issue
Block a user