Generated email address's domain is not harcoded anymore

This commit is contained in:
spla 2022-06-19 17:15:59 +02:00
pare d1b68680e9
commit 4745c850fd
S'han modificat 1 arxius amb 2 adicions i 2 eliminacions

Veure arxiu

@ -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()