Generated email address's domain is not harcoded anymore
This commit is contained in:
pare
d1b68680e9
commit
4745c850fd
S'han modificat 1 arxius amb 2 adicions i 2 eliminacions
|
@ -30,7 +30,7 @@ def generate_email():
|
||||||
and sum(c.isdigit() for c in email_address) >= 3):
|
and sum(c.isdigit() for c in email_address) >= 3):
|
||||||
break
|
break
|
||||||
|
|
||||||
email_address = email_address + '@mastodont.cat'
|
email_address = email_address + '@' + mastodon_hostname
|
||||||
|
|
||||||
return email_address
|
return email_address
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ def get_parameter( parameter, file_path ):
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
mastodon = log_in()
|
mastodon, mastodon_hostname = log_in()
|
||||||
|
|
||||||
gitea_hostname, gitea_access_token = get_gitea_hostname()
|
gitea_hostname, gitea_access_token = get_gitea_hostname()
|
||||||
|
|
||||||
|
|
Loading…
Referencia en una nova incidència