Skip to content

picword里找不到文件时要更好的处理一下 #71

@hdcola

Description

@hdcola

No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/home/ehelper/.local/lib/python3.10/site-packages/telegram/ext/dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "/home/ehelper/.local/lib/python3.10/site-packages/telegram/ext/handler.py", line 198, in handle_update
return self.callback(update, context)
File "/ehelper/cmdproc/wordpic.py", line 38, in map_word_to_pic_command
filename = f"res/picwords/{slice[0]['filename']}"
KeyError: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions