aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlater4
1 files changed, 2 insertions, 2 deletions
diff --git a/later b/later
index 8a5c686..a6ad804 100755
--- a/later
+++ b/later
@@ -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