diff --git a/src/common/dbus_support.py b/src/common/dbus_support.py index 65b394684..d554f7ab2 100644 --- a/src/common/dbus_support.py +++ b/src/common/dbus_support.py @@ -16,7 +16,6 @@ ## import os -import sys from common import gajim from common import exceptions diff --git a/src/common/socks5.py b/src/common/socks5.py index 77158b3e3..80c9a9a67 100644 --- a/src/common/socks5.py +++ b/src/common/socks5.py @@ -27,11 +27,8 @@ import socket -import select -import os import struct import sha -import time from dialogs import BindPortError from errno import EWOULDBLOCK @@ -213,7 +210,7 @@ class SocksQueue: sender = self.senders[file_props['hash']] sender.account = account - result = get_file_contents(0) + result = self.get_file_contents(0) self.process_result(result, sender) def result_sha(self, sha_str, idx):