Skip to content

Commit b63a8d3

Browse files
committed
No need for indent
1 parent 4f53f36 commit b63a8d3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

flask_oauthlib/client.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,11 @@ def _get_property(self, key, default=False):
303303
if default is not False:
304304
return config.get(key, default)
305305
return config[key]
306-
else:
307-
# works with plain text config
308-
config_key = "%s_%s" % (self.app_key, key.upper())
309-
if default is not False:
310-
return app.config.get(config_key, default)
311-
return app.config[config_key]
306+
# works with plain text config
307+
config_key = "%s_%s" % (self.app_key, key.upper())
308+
if default is not False:
309+
return app.config.get(config_key, default)
310+
return app.config[config_key]
312311

313312
def make_client(self, token=None):
314313
# request_token_url is for oauth1

0 commit comments

Comments
 (0)