Skip to content

Commit

Permalink
Update db_management.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3p4ll3 authored Oct 17, 2023
1 parent 296c954 commit d18be72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/db_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ def read_support(chat_id):
try:
return Support[chat_id].Action
except ObjectNotFound:
created = Support(Action="", id=chat_id)
return created.Action
return ""


def write_support(status, chat_id):
Expand Down

0 comments on commit d18be72

Please sign in to comment.