diff --git a/poetry/masonry/publishing/publisher.py b/poetry/masonry/publishing/publisher.py index f8c8356f4f8..17fe85828c9 100644 --- a/poetry/masonry/publishing/publisher.py +++ b/poetry/masonry/publishing/publisher.py @@ -57,6 +57,7 @@ def publish(self, repository_name): if not repository_name: url = 'https://upload.pypi.org/legacy/' + repository_name = 'pypi' else: # Retrieving config information config_file = Path(CONFIG_DIR) / 'config.toml'