| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 252c254 commit 81a2f76
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -337,6 +337,8 @@ def get_auth(args, encode=True): | |||
| 337 | 337 | '-s', args.osx_keychain_item_name, | |
| 338 | 338 | '-a', args.osx_keychain_item_account, | |
| 339 | 339 | '-w'], stderr=devnull).strip()) | |
| 340 | + if not PY2: | ||
| 341 | + token = token.decode('utf-8') | ||
| 340 | 342 | auth = token + ':' + 'x-oauth-basic' | |
| 341 | 343 | except: | |
| 342 | 344 | log_error('No password item matching the provided name and account could be found in the osx keychain.') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments