From 00db8a10d07fe79d0020ec4da3bafcb1999dec11 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 22 Feb 2020 11:04:08 +0000 Subject: [PATCH] Wrong filename --- follow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/follow.py b/follow.py index ab314129e..d39bbe817 100644 --- a/follow.py +++ b/follow.py @@ -209,7 +209,7 @@ def unfollowPerson(baseDir: str,nickname: str, domain: str, \ with open(filename, "a+") as f: f.write(handleToUnfollow+'\n') else: - with open(filename, "w+") as f: + with open(unfollowedFilename, "w+") as f: f.write(handleToUnfollow+'\n') return True