From 4e8fd1bfb7f77a7eba1880d61a60a70481a6341f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 12 May 2015 18:02:51 +0200 Subject: Fix dict generators for python 2.5 --- pyload/plugin/crypter/YoutubeComFolder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/plugin/crypter/YoutubeComFolder.py') diff --git a/pyload/plugin/crypter/YoutubeComFolder.py b/pyload/plugin/crypter/YoutubeComFolder.py index 6873c9148..3c971fea1 100644 --- a/pyload/plugin/crypter/YoutubeComFolder.py +++ b/pyload/plugin/crypter/YoutubeComFolder.py @@ -107,7 +107,7 @@ class YoutubeComFolder(Crypter): playlists = self.getPlaylists(channel['id']) self.logDebug("%s playlist\s found on channel \"%s\"" % (len(playlists), channel['title'])) - relatedplaylist = {p_name: self.getPlaylist(p_id) for p_name, p_id in channel['relatedPlaylists'].iteritems()} + relatedplaylist = dict((p_name, self.getPlaylist(p_id)) for p_name, p_id in channel['relatedPlaylists'].iteritems()) self.logDebug("Channel's related playlists found = %s" % relatedplaylist.keys()) relatedplaylist['uploads']['title'] = "Unplaylisted videos" -- cgit v1.2.3