aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-downloads/files/patch-tracdownloads_consoleadmin.py
blob: 9191b2f02307518ebd1913636bb5d69a6695b163 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- tracdownloads/consoleadmin.py.orig
+++ tracdownloads/consoleadmin.py
@@ -122,7 +122,8 @@
         self.log.debug(download)
 
         # Upload file to DB and file storage.
-        api.store_download(context, download, file)
+        api._add_download(context, download, file)
+
 
         # Close input file and commit changes in DB.
         file.close()