User1342 commited on
Commit
64db771
·
1 Parent(s): 554bf13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,6 +4,7 @@ from pprint import pprint
4
  from mastodon import Mastodon, MastodonNotFoundError # Mastodon.py
5
 
6
  list_of_servers = [
 
7
  'social.linux.pizza',
8
  'tilde.zone',
9
  'hostux.social',
@@ -55,7 +56,7 @@ def client_log_in(provided_server = None):
55
  client_id = secrets[server]["client_id"]
56
  client_secret = secrets[server]["client_secret"]
57
  password = secrets[server]["password"]
58
- username = os.getenv('username')
59
 
60
 
61
  mastodon = Mastodon(
 
4
  from mastodon import Mastodon, MastodonNotFoundError # Mastodon.py
5
 
6
  list_of_servers = [
7
+ "infosec.exchange",
8
  'social.linux.pizza',
9
  'tilde.zone',
10
  'hostux.social',
 
56
  client_id = secrets[server]["client_id"]
57
  client_secret = secrets[server]["client_secret"]
58
  password = secrets[server]["password"]
59
+ username = secrets[server]["email"]
60
 
61
 
62
  mastodon = Mastodon(