Skip to content

Commit 6337f05

Browse files
committed
chore(credential): Update file to be opened as a text
1 parent fb185a9 commit 6337f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watson_developer_cloud/watson_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def load_from_credential_file(self, service_name, separator='='):
319319
credential_file_path = file_path
320320

321321
if credential_file_path is not None:
322-
with open(credential_file_path, 'rb') as fp:
322+
with open(credential_file_path, 'r') as fp:
323323
for line in fp:
324324
key_val = line.strip().split(separator)
325325
if len(key_val) == 2:

0 commit comments

Comments
 (0)