Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'file_sharing/database.py')
-rw-r--r--file_sharing/database.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_sharing/database.py b/file_sharing/database.py
index 0c2e950..9becfc6 100644
--- a/file_sharing/database.py
+++ b/file_sharing/database.py
@@ -1,5 +1,5 @@
import sqlite3
-from common import gajim
+from common import app
import sys
import os
@@ -115,7 +115,7 @@ class FilesharingDatabase:
>>> _delete_file(1)
"""
self._check_duplicate(account, requester, file_)
- requester = gajim.get_jid_without_resource(requester)
+ requester = app.get_jid_without_resource(requester)
c = self.conn.cursor()
c.execute("INSERT INTO files (file_path, " +
"relative_path, hash_sha1, size, description, mod_date, " +