forked from Ponysearch/Ponysearch
[fix] pep8
This commit is contained in:
parent
5f758b2d39
commit
8901b7bddb
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class Preferences(object):
|
||||||
|
|
||||||
def parse_encoded_data(self, input_data):
|
def parse_encoded_data(self, input_data):
|
||||||
decoded_data = decompress(urlsafe_b64decode(input_data.encode('utf-8')))
|
decoded_data = decompress(urlsafe_b64decode(input_data.encode('utf-8')))
|
||||||
self.parse_dict({x: y[0] for x,y in parse_qs(unicode(decoded_data)).items()})
|
self.parse_dict({x: y[0] for x, y in parse_qs(unicode(decoded_data)).items()})
|
||||||
|
|
||||||
def parse_dict(self, input_data):
|
def parse_dict(self, input_data):
|
||||||
for user_setting_name, user_setting in input_data.items():
|
for user_setting_name, user_setting in input_data.items():
|
||||||
|
|
Loading…
Reference in a new issue