We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe75bc1 commit c18a5bdCopy full SHA for c18a5bd
pythonic.el
@@ -295,7 +295,8 @@ process flag."
295
(defun pythonic-activate (virtualenv)
296
"Activate python VIRTUALENV."
297
(interactive "DEnv: ")
298
- (setq python-shell-virtualenv-root (pythonic-python-readable-file-name virtualenv)))
+ (setq python-shell-virtualenv-root
299
+ (and virtualenv (pythonic-python-readable-file-name virtualenv))))
300
301
;;;###autoload
302
(defun pythonic-deactivate ()
0 commit comments