Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cda6afa

Browse files
committed
Use django-templated in BASE_URL.
1 parent 1488fa9 commit cda6afa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

run.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,9 @@
187187

188188
# authentication
189189
authentication = (
190-
"{{comment}} Learn about API authentication here: "
191-
"{plotly_domain}/{{api_path}}/getting-started\n"
192-
"{{comment}} Find your api_key here: {plotly_domain}/settings/api\n"
193-
.format(plotly_domain="https://plot.ly")
190+
"{comment} Learn about API authentication here: "
191+
"{{BASE_URL}}/{api_path}/getting-started\n"
192+
"{comment} Find your api_key here: {{BASE_URL}}/settings/api\n"
194193
)
195194

196195
# define comment strings for each language

0 commit comments

Comments
 (0)