diff options
author | Vanessa Frank <nocturnalnessa@proton.me> | 2024-04-11 17:41:42 -0600 |
---|---|---|
committer | Vanessa Frank <nocturnalnessa@proton.me> | 2024-04-11 17:41:42 -0600 |
commit | 295943060c1d4ddbb79109df8c09b2a599d8a956 (patch) | |
tree | eadaa0c312461231e7bc0aeef07ec246e0fc122c /misc | |
parent | 90ee0ea7103b656864f2f599240384d50d47d974 (diff) | |
download | qutebrowser-295943060c1d4ddbb79109df8c09b2a599d8a956.tar.gz qutebrowser-295943060c1d4ddbb79109df8c09b2a599d8a956.zip |
Changed line 35 of tor_identity userscript to stop it throwing an error when '--control-port' is passed
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/userscripts/tor_identity | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/userscripts/tor_identity b/misc/userscripts/tor_identity index 6b3828ed4..a6d7c9250 100755 --- a/misc/userscripts/tor_identity +++ b/misc/userscripts/tor_identity @@ -32,7 +32,7 @@ except ImportError: if __name__ == '__main__': parser = ArgumentParser(prog='tor_identity') - parser.add_argument('-c', '--control-port', default=9051, + parser.add_argument('-c', '--control-port', type=int, default=9051, help='Tor control port (default 9051).') parser.add_argument('-p', '--password', type=str, default=None, help='Tor control port password.') |