aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools/subtitles.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tools/subtitles.py')
-rw-r--r--mediagoblin/tools/subtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tools/subtitles.py b/mediagoblin/tools/subtitles.py
index efafbeec..c6e420a5 100644
--- a/mediagoblin/tools/subtitles.py
+++ b/mediagoblin/tools/subtitles.py
@@ -10,7 +10,7 @@ def get_path(path):
def open_subtitle(path):
subtitle_path = get_path(path)
- subtitle = open(subtitle_path,"r") # Opening the file using the absolute path
+ subtitle = open(subtitle_path) # Opening the file using the absolute path
text = subtitle.read()
return text