From 213207f1fcbea6c40c7195995a9baa85d9f34606 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 1 Dec 2022 03:42:14 -0500 Subject: [PATCH] remove encoding arg that doesnt exist in python 3.6 --- t.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t.py b/t.py index b7f9504..de8b9e8 100755 --- a/t.py +++ b/t.py @@ -14,7 +14,7 @@ import fileinput first = True -with fileinput.input(files=(os.environ.get('HOME') + os.sep + '.rainbow_oauth'), encoding="utf-8") as f: +with fileinput.input(files=(os.environ.get('HOME') + os.sep + '.rainbow_oauth')) as f: # ok, this is dumb, but it works for line in f: if first: -- 2.25.1