Fix opening new tab in already runned TBB (always -allow-remote)

This commit is contained in:
Anton Nesterov 2014-12-10 02:38:36 +03:00
parent 7b113e53af
commit de134835a0

View File

@ -634,10 +634,7 @@ class Launcher:
gtk.main_iteration_do(True)
# run Tor Browser
if len(self.url_list) == 0:
subprocess.call([self.common.paths['tbb']['start']])
else:
subprocess.call([self.common.paths['tbb']['start'], '-allow-remote'] + self.url_list)
subprocess.call([self.common.paths['tbb']['start'], '-allow-remote'] + self.url_list)
if run_next_task:
self.run_task()