Show URL example

This commit is contained in:
Luke Murphy 2020-10-03 11:22:19 +02:00
parent e66792ec3e
commit 5217cf2522
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 4 additions and 2 deletions

View File

@ -121,7 +121,7 @@ $ etherpump init
The program then interactively asks some questions:
> Please type the URL of the etherpad:
> Please type the URL of the etherpad (e.g. https://pad.vvvvvvaria.org):
> https://pad.vvvvvvaria.org/
The APIKEY is the contents of the file APIKEY.txt in the etherpad folder.

View File

@ -107,7 +107,9 @@ def main(args):
if apiurl:
# print ("Got APIURL: {0}".format(apiurl))
break
apiurl = input("Please type the URL of the etherpad: ").strip()
apiurl = input(
"Please type the URL of the etherpad (e.g. https://pad.vvvvvvaria.org): "
).strip()
padinfo["apiurl"] = apiurl
apikey = args.apikey
while True: