Commit bf58faae authored by Bastien Nocera's avatar Bastien Nocera

Fix failure to save downloaded subtitles

2009-04-23  Bastien Nocera  <hadess@hadess.net>

	* src/plugins/opensubtitles/opensubtitles.py:
	Fix failure to save downloaded subtitles, see
	https://bugzilla.redhat.com/show_bug.cgi?id=497210
parent 11008c3a
2009-04-23 Bastien Nocera <hadess@hadess.net>
* src/plugins/opensubtitles/opensubtitles.py:
Fix failure to save downloaded subtitles, see
https://bugzilla.redhat.com/show_bug.cgi?id=497210
2009-04-22 Bastien Nocera <hadess@hadess.net>
* browser-plugin/totem-plugin-viewer.c (totem_embedded_set_uri):
......
......@@ -517,7 +517,7 @@ class OpenSubtitles(totem.Plugin):
if not filename:
directory = gio.File(xdg.BaseDirectory.xdg_cache_home + sep + 'totem' + sep + 'subtitles' + sep)
if not directory.query_exists():
directory.make_directory()
directory.make_directory_with_parents()
file = gio.File(self.filename)
movie_name = file.get_basename().rpartition('.')[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment