diff options
author | Mike Crute <mcrute@gmail.com> | 2015-07-17 20:47:59 -0700 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2015-07-17 20:47:59 -0700 |
commit | 1691ea9bf903bea42a29b13734658ae53ea88dc9 (patch) | |
tree | ce06cf8caefa8e841635f69bec87d5d4a8d9328c /pydora | |
parent | 9a2e05f3f2cbc2075d0bb1a192708f255dee6095 (diff) | |
download | pydora-1691ea9bf903bea42a29b13734658ae53ea88dc9.tar.bz2 pydora-1691ea9bf903bea42a29b13734658ae53ea88dc9.tar.xz pydora-1691ea9bf903bea42a29b13734658ae53ea88dc9.zip |
PEP8 fixes
Diffstat (limited to 'pydora')
-rw-r--r-- | pydora/configure.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pydora/configure.py b/pydora/configure.py index 75df517..21ea3c3 100644 --- a/pydora/configure.py +++ b/pydora/configure.py | |||
@@ -89,7 +89,8 @@ class PandoraKeysConfigParser(object): | |||
89 | elif self._is_device_terminator(line): | 89 | elif self._is_device_terminator(line): |
90 | key = self._clean_device_name(buffer.pop()) | 90 | key = self._clean_device_name(buffer.pop()) |
91 | current_partner = partners[key] = { | 91 | current_partner = partners[key] = { |
92 | "api_host": self._format_api_host(api_host) } | 92 | "api_host": self._format_api_host(api_host) |
93 | } | ||
93 | 94 | ||
94 | buffer.append(line.strip().lower()) | 95 | buffer.append(line.strip().lower()) |
95 | 96 | ||
@@ -153,7 +154,7 @@ class Configurator(object): | |||
153 | self.get_value("user", "username", "Pandora Username: ") | 154 | self.get_value("user", "username", "Pandora Username: ") |
154 | self.get_password("user", "password", "Pandora Password: ") | 155 | self.get_password("user", "password", "Pandora Password: ") |
155 | self.set_static_value("api", "default_audio_quality", | 156 | self.set_static_value("api", "default_audio_quality", |
156 | APIClient.HIGH_AUDIO_QUALITY) | 157 | APIClient.HIGH_AUDIO_QUALITY) |
157 | 158 | ||
158 | self.write_config() | 159 | self.write_config() |
159 | 160 | ||