From 59a1e9008b3b25e53c02faf74cab9af966988a57 Mon Sep 17 00:00:00 2001 From: isabelizimm Date: Thu, 27 Oct 2022 10:14:45 -0400 Subject: [PATCH] pass in directory as received --- rsconnect/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsconnect/actions.py b/rsconnect/actions.py index 80135385..bf6d7110 100644 --- a/rsconnect/actions.py +++ b/rsconnect/actions.py @@ -1632,7 +1632,7 @@ def get_python_env_info(file_name, python, conda_mode=False, force_generate=Fals """ python = which_python(python) logger.debug("Python: %s" % python) - environment = inspect_environment(python, dirname(file_name), conda_mode=conda_mode, force_generate=force_generate) + environment = inspect_environment(python, file_name, conda_mode=conda_mode, force_generate=force_generate) if environment.error: raise RSConnectException(environment.error) logger.debug("Python: %s" % python)