]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/exporter/exporter.py
A couple more fixes.
[osqa.git] / forum_modules / exporter / exporter.py
index 725a310e4dd04820c8709135e1f94a783b4f20b3..df1237f004f72b55201352b7292f3b6bd5fdbbf1 100644 (file)
@@ -187,7 +187,7 @@ def create_targz(tmp, files, start_time, options, user, state, set_state):
     with open(os.path.join(tmp, 'backup.inf'), 'wb') as inffile:
         inf.write(inffile)
 
-    t.add(os.path.join(tmp, 'backup.inf'), arcname='backup.inf')
+    t.add(os.path.join(tmp, '/backup.inf'), arcname='backup.inf')
     state['overall']['status'] = _('Saving backup file')
     set_state()
     t.close()