Skip to content

Commit c1ea4ae

Browse files
correct syntax
1 parent 7e28abd commit c1ea4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonanywhere/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AuthenticationError(Exception):
2525

2626
def get_api_endpoint(flavour="webapps"):
2727
domain = os.environ.get('PYTHONANYWHERE_DOMAIN', 'pythonanywhere.com')
28-
return 'https://www.{domain}/api/v0/user/{{username}}/{{flavour}}/'.format(domain=domain, flavour=flavour)
28+
return 'https://www.{domain}/api/v0/user/{{username}}/{flavour}/'.format(domain=domain, flavour=flavour)
2929

3030

3131
def call_api(url, method, **kwargs):

0 commit comments

Comments
 (0)