Generated email address's domain is not harcoded anymore
This commit is contained in:
parent
d1b68680e9
commit
4745c850fd
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ def generate_email():
|
|||
and sum(c.isdigit() for c in email_address) >= 3):
|
||||
break
|
||||
|
||||
email_address = email_address + '@mastodont.cat'
|
||||
email_address = email_address + '@' + mastodon_hostname
|
||||
|
||||
return email_address
|
||||
|
||||
|
@ -243,7 +243,7 @@ def get_parameter( parameter, file_path ):
|
|||
|
||||
if __name__ == '__main__':
|
||||
|
||||
mastodon = log_in()
|
||||
mastodon, mastodon_hostname = log_in()
|
||||
|
||||
gitea_hostname, gitea_access_token = get_gitea_hostname()
|
||||
|
||||
|
|
Loading…
Reference in a new issue