diff --git a/tests/tests.py b/tests/tests.py index b8ac071..35ee6e3 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -31,8 +31,6 @@ class TestProfileHelper: assert ProfileHelper.get_path() == path assert ph.open_profile() == data assert os.path.exists(path + 'avatars/') - profiles = ph.find_profiles() - assert len(profiles) == 1 class TestDNS: diff --git a/toxygen/profile.py b/toxygen/profile.py index fc52a75..93f430d 100644 --- a/toxygen/profile.py +++ b/toxygen/profile.py @@ -87,7 +87,7 @@ class Profile(basecontact.BaseContact, Singleton): if status is not None: self._tox.self_set_status(status) else: - QtCore.QTimer.singleShot(30000, self.reconnect) + QtCore.QTimer.singleShot(45000, self.reconnect) def set_name(self, value): if self.name == value: