[Mpuls-commits] r2560 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 29 12:32:38 CEST 2010


Author: torsten
Date: 2010-04-29 12:32:38 +0200 (Thu, 29 Apr 2010)
New Revision: 2560

Modified:
   wasko/branches/2.0/mpulsweb/lib/base.py
Log:
* mpulsweb/lib/base.py (BaseController._loadCase): Fixed converting
	  error


Modified: wasko/branches/2.0/mpulsweb/lib/base.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/base.py	2010-04-29 10:29:58 UTC (rev 2559)
+++ wasko/branches/2.0/mpulsweb/lib/base.py	2010-04-29 10:32:38 UTC (rev 2560)
@@ -83,7 +83,7 @@
 
         # Only reset navigation if case is switched
         log.debug("%s (%s) == %s (%s))" % (old_caseid, type(old_caseid), id, type(id)))
-        if int(old_caseid )!= int(id):
+        if str(old_caseid) != str(id):
             open_folders = []
             navigation = get_navigation(id)
             session['render_mode'] = 'ro'



More information about the Mpuls-commits mailing list