Skip to content

Commit

Permalink
fix(advanced_calculator): 🐛 fix reply exception info error
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzhiZhang committed Jul 18, 2022
1 parent 3f065fc commit b4e178f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advanced_calculator/advanced_calculator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def on_user_info(server: PluginServerInterface, info: Info):

def say_error_info(src, exp, error):
return src.get_server().say(
RText(f'§c计算 §6{exp} §c出错: §6{type(e).__name__}').h(error)
RText(f'§c计算 §6{exp} §c出错: §6{type(error).__name__}').h(error)
)


Expand Down

0 comments on commit b4e178f

Please sign in to comment.