web/webconfig.py
branchstable
changeset 8475 65fecbeb9c3a
parent 8349 fdb796435d7b
child 8601 1a6000ff2080
--- a/web/webconfig.py	Thu Jul 19 10:25:22 2012 +0200
+++ b/web/webconfig.py	Thu Jul 19 10:27:04 2012 +0200
@@ -331,10 +331,9 @@
         self.datadir_url = baseurl + data_relpath
 
     def data_relpath(self):
-        if (self.debugmode or self.mode == 'test'):
+        if self.mode == 'test':
             return 'data/'
-        else:
-            return 'data/%s/' % self.instance_md5_version()
+        return 'data/%s/' % self.instance_md5_version()
 
     def _build_ui_properties(self):
         # self.datadir_url[:-1] to remove trailing /