Skip to content

Commit

Permalink
fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
notyoyoma committed Jun 21, 2017
1 parent d9d7ba0 commit 5c0c71b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmsplugin_remote_form/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.5"
__version__ = "1.0.6"
2 changes: 1 addition & 1 deletion cmsplugin_remote_form/cms_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def render(self, context, instance, placeholder):
return context

def handle_response(self):
if (not self.remote_response) and self.determine_success():
if self.remote_response and self.determine_success():
self.success_callback()
else:
if self.instance.error_notification_emails:
Expand Down

0 comments on commit 5c0c71b

Please sign in to comment.