From de134835a05b74e750da291e90fa86cfc43feae6 Mon Sep 17 00:00:00 2001 From: Anton Nesterov Date: Wed, 10 Dec 2014 02:38:36 +0300 Subject: [PATCH] Fix opening new tab in already runned TBB (always -allow-remote) --- torbrowser_launcher/launcher.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/torbrowser_launcher/launcher.py b/torbrowser_launcher/launcher.py index 284f224..0e570e1 100644 --- a/torbrowser_launcher/launcher.py +++ b/torbrowser_launcher/launcher.py @@ -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()