Skip to content

Commit

Permalink
Make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Fafner [_KeyZee_] committed Oct 3, 2023
1 parent 5425e2d commit 117a894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/web/api/telegramapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Channnelinfo(Resource):
def get(self, name):
red = Redis(unix_socket_path=get_socket_path('cache'), db=5)
group = {}
sorted_posts = {}
sorted_posts:Dict = {}
for key in red.keys():
if key.decode().lower() == name.lower():
group= json.loads(red.get(key)) # type: ignore
Expand Down

0 comments on commit 117a894

Please sign in to comment.