Skip to content

Commit 1b1d149

Browse files
use raw string for browser path
resolves the following warnings: ``` /opt/homebrew/bin/pritunl-ssh:20: SyntaxWarning: invalid escape sequence '\ ' BROWSER_PATH = '/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe' /opt/homebrew/bin/pritunl-ssh:20: SyntaxWarning: invalid escape sequence '\ ' BROWSER_PATH = '/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe' ```
1 parent 2d32af8 commit 1b1d149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
BASH_PROFILE_PATH = '~/.bash_profile'
1818
DEF_KNOWN_HOSTS_PATH = '~/.ssh/known_hosts'
1919
DEF_SSH_CONF_PATH = '~/.ssh/config'
20-
BROWSER_PATH = '/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe'
20+
BROWSER_PATH = r'/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe'
2121

2222
USAGE = """\
2323
Usage: pritunl-ssh [command]

0 commit comments

Comments
 (0)