Permalink
Browse files

Merge pull request #64 from svieira/patch-1

Avoid creating escape characters on Windows
  • Loading branch information...
2 parents fe58960 + bd63dc8 commit befe453bc9ae4ebcb4d5949f9bd964f162e1fb98 @wuub wuub committed Aug 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lang_integration.py
View
2 lang_integration.py
@@ -91,7 +91,7 @@ def run_virtualenv(self, choices, index):
(name, directory) = choices[index]
activate_file = os.path.join(directory, "activate_this.py")
- init_cmd = "execfile('{activate_file}', dict(__file__='{activate_file}')); import site; import sys; sys.ps1 = '({name}) >>> '; del sys;".format(name=name, activate_file=activate_file)
+ init_cmd = "execfile(r'{activate_file}', dict(__file__=r'{activate_file}')); import site; import sys; sys.ps1 = '({name}) >>> '; del sys;".format(name=name, activate_file=activate_file)
self.window.run_command("repl_open",
{
"type":"telnet",

0 comments on commit befe453

Please sign in to comment.