]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/controllers/gasthaus.py
Fixed: Avoid calling function to_title (that was renamed to dbkey_to_title).
[philipp/winterrodeln/wradmin.git] / wradmin / controllers / gasthaus.py
index 4dcf9c3d661df23c3eaae229a3bf87ead2dce513..95faba71240d183e55bccbffd63633d3fd206961 100644 (file)
@@ -37,7 +37,7 @@ class GasthausController:
             flash('Die Gasthausliste wurde erfolgreich aktualisiert.', 'info')
         except wrpylib.wrmwcache.UpdateCacheError as e:
             title = str(e.args[1])
-            title = wrpylib.mwmarkup.to_title(title)
+            title = wrpylib.mwmarkup.dbkey_to_title(title)
             msg = str(e.args[2])
             msg = msg.replace('\n', '; ')
             if len(e.args) == 3: