mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-12-02 11:40:03 -05:00
Fix syntax error added by last patch
This commit is contained in:
parent
b19b4fc641
commit
a3db39988d
@ -182,8 +182,7 @@ def login(request):
|
|||||||
try:
|
try:
|
||||||
client = Client.objects.get(api_base_id=api_base_url)
|
client = Client.objects.get(api_base_id=api_base_url)
|
||||||
except (Client.DoesNotExist, Client.MultipleObjectsReturned):
|
except (Client.DoesNotExist, Client.MultipleObjectsReturned):
|
||||||
(client_id, client_secret) =
|
(client_id, client_secret) = Mastodon.create_app('brutaldon',
|
||||||
Mastodon.create_app('brutaldon',
|
|
||||||
api_base_url=api_base_url,
|
api_base_url=api_base_url,
|
||||||
redirect_uris=redirect_uris,
|
redirect_uris=redirect_uris,
|
||||||
scopes=['read', 'write', 'follow'])
|
scopes=['read', 'write', 'follow'])
|
||||||
@ -245,8 +244,7 @@ def old_login(request):
|
|||||||
try:
|
try:
|
||||||
client = Client.objects.get(api_base_id=api_base_url)
|
client = Client.objects.get(api_base_id=api_base_url)
|
||||||
except (Client.DoesNotExist, Client.MultipleObjectsReturned):
|
except (Client.DoesNotExist, Client.MultipleObjectsReturned):
|
||||||
(client_id, client_secret) =
|
(client_id, client_secret) = Mastodon.create_app('brutaldon',
|
||||||
Mastodon.create_app('brutaldon',
|
|
||||||
api_base_url=api_base_url,
|
api_base_url=api_base_url,
|
||||||
scopes=['read', 'write', 'follow'])
|
scopes=['read', 'write', 'follow'])
|
||||||
client = Client(
|
client = Client(
|
||||||
|
Loading…
Reference in New Issue
Block a user