diff --git a/toot.py b/toot.py index 2c6aa9c..1fce9cf 100644 --- a/toot.py +++ b/toot.py @@ -14,7 +14,7 @@ if not exists("usercred.secret"): chmod("clientcred.secret",0o600) tmp = Mastodon(client_id="clientcred.secret",api_base_url="https://tilde.zone") with open("details.secret") as f: - tmp.log_in(f.readline().strip(),f.readline.strip(),to_file="usercred.secret") + tmp.log_in(f.readline().strip(),f.readline().strip(),to_file="usercred.secret") chmod("usercred.secret",0o600) elif getmod("usercred.secret")!=0o600: chmod("usercred.secret",0o600)