[fix] pep8

This commit is contained in:
Adam Tauber 2017-10-26 00:10:57 +02:00
parent 5f758b2d39
commit 8901b7bddb

View file

@ -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():