From d23ef4ae6670be465f1c157f1dcc1626ef0b85f0 Mon Sep 17 00:00:00 2001 From: khuxkm fbexl Date: Fri, 11 Sep 2020 02:24:47 +0000 Subject: [PATCH] How did I miss those parentheses? --- toot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)