Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Dec 19, 2022
1 parent 50d67cb commit 0e37a11
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/message/channel/gotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ def init_config(self):
self._token = self._client_config.get('token')
try:
self._priority = int(self._client_config.get('priority'))
except:
except Exception as e:
self._priority = 8
ExceptionUtils.exception_traceback(e)

def send_msg(self, title, text="", image="", url="", user_id=""):
"""
Expand Down Expand Up @@ -54,4 +55,4 @@ def send_msg(self, title, text="", image="", url="", user_id=""):
return False, str(msg_e)

def send_list_msg(self, **kwargs):
pass
pass

0 comments on commit 0e37a11

Please sign in to comment.