Skip to content

Commit

Permalink
Fix recursion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zpriddy committed Apr 17, 2020
1 parent ace0ed4 commit cddf7f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = glados
version = 0.0.1-dev21
version = 0.0.1-dev22
description = A library to help with slackbot development
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion src/glados/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def rollback_session(self) -> NoReturn:

def has_interaction(self) -> bool:
"""Check if request has interaction. """
return True if self.interaction else False
return True if self._interaction else False

def has_new_interaction(self) -> bool:
"""check if request has a new interaction object."""
Expand Down

0 comments on commit cddf7f0

Please sign in to comment.