Fixed update check
This commit is contained in:
parent
c4da55a4f9
commit
e17956f03f
1 changed files with 0 additions and 3 deletions
|
@ -223,7 +223,6 @@ class WorkerThread(QThread):
|
||||||
|
|
||||||
def sync(self):
|
def sync(self):
|
||||||
try:
|
try:
|
||||||
print('inside syns workertheard')
|
|
||||||
if self.action == 'SYNC_TOR':
|
if self.action == 'SYNC_TOR':
|
||||||
ConfigurationController.set_connection('tor')
|
ConfigurationController.set_connection('tor')
|
||||||
else:
|
else:
|
||||||
|
@ -233,7 +232,6 @@ class WorkerThread(QThread):
|
||||||
all_location_codes = [f"{location.country_code}_{location.code}" for location in locations]
|
all_location_codes = [f"{location.country_code}_{location.code}" for location in locations]
|
||||||
self.sync_output.emit(all_location_codes, True, False, locations, False)
|
self.sync_output.emit(all_location_codes, True, False, locations, False)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
|
||||||
self.sync_output.emit([], False, False, [], False)
|
self.sync_output.emit([], False, False, [], False)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1060,7 +1058,6 @@ class Worker(QObject):
|
||||||
self.force = self.profile_data.get('force', False)
|
self.force = self.profile_data.get('force', False)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
print('inside enable worker thread')
|
|
||||||
self.profile = ProfileController.get(int(self.profile_data['id']))
|
self.profile = ProfileController.get(int(self.profile_data['id']))
|
||||||
|
|
||||||
if 'billing_code' in self.profile_data:
|
if 'billing_code' in self.profile_data:
|
||||||
|
|
Loading…
Reference in a new issue