diff options
-rwxr-xr-x | later | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,7 +66,7 @@ class TitleMap: self.ytdl = None try: - with open(path, "r") as handle: + with open(path) as handle: self.map = json.load(handle) except FileNotFoundError: pass @@ -134,7 +134,7 @@ def entries(): mtime = dt.fromtimestamp(get_mtime(entry)) - with open(entry.path, "r") as handle: + with open(entry.path) as handle: first = handle.readline().rstrip() name = entry.name |