Skip to content

Commit c5e82e9

Browse files
committed
UTF8
1 parent 98eb436 commit c5e82e9

2 files changed

Lines changed: 63 additions & 72 deletions

File tree

.idea/workspace.xml

Lines changed: 62 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hdx/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _get_credentials(self) -> tuple:
122122
site = self.data[self.hdx_site]
123123
username = site['username']
124124
if username:
125-
return b64decode(username), b64decode(site['password'])
125+
return b64decode(username).decode('utf-8'), b64decode(site['password']).decode('utf-8')
126126
else:
127127
return '', ''
128128

0 commit comments

Comments
 (0)