View Single Post
Old 02-11-2020, 08:20 PM   #1338
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by shadowdance View Post
i have actually no idea if that is a "good" or "proper" way, but after digging, i found a fix for me:

Code:
diff core.py core_orig.py 
219d218
<         request_token = {key.decode('utf-8'): value.decode('utf-8') for (key, value) in request_token.items()}
230d228
<         access_token= {key.decode('utf-8'): value.decode('utf-8') for (key, value) in access_token.items()}
Woops, didn't see the extra post on the next page.

That looks like another difference in how the different Python versions handle strings. I'll look at whether that is the right way to handle it.
davidfor is offline   Reply With Quote