changeset 247:ee04fc66891f

Return True here instead of self
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 22:19:07 +0200
parents 2b2738c8c130
children 0219b1d63c6c
files getan/states.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Tue Apr 09 22:18:52 2013 +0200
+++ b/getan/states.py	Tue Apr 09 22:19:07 2013 +0200
@@ -412,7 +412,7 @@
     def enter(self):
         text = self.footer.get_edit_text()
         if text == '':
-            return self
+            return True
         self.controller.stop_project(text)
         self.controller.view.set_footer_text(self.msg('choose_proj'), 'question')
         self.set_next_state(PausedProjectsState(self.controller, self.view))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)