Skip to content

Commit

Permalink
fix AttributeError (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiquehunziker authored and axelsrz committed Oct 17, 2019
1 parent ae0360e commit 274642e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def end_dialog(
) -> None:
# Forward cancel to inner dialogs
if reason == DialogReason.CancelCalled:
dialog_state = instance.State[self.persisted_dialog_state]
dialog_state = instance.state[self.persisted_dialog_state]
inner_dc = DialogContext(self._dialogs, context, dialog_state)
await inner_dc.cancel_all_dialogs()
await self.on_end_dialog(context, instance, reason)
Expand Down

0 comments on commit 274642e

Please sign in to comment.