Skip to content

Commit ae05a14

Browse files
committed
credentials != credentials.pypi
1 parent 40c9706 commit ae05a14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bork/pypi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _get_credentials(self):
154154
password = None
155155

156156
credentials = Credentials.from_env(self.repository)
157-
if credentials:
157+
if credentials.pypi:
158158
username = credentials.pypi.username
159159
password = credentials.pypi.password
160160

0 commit comments

Comments
 (0)