From ed2aa30c02f9a2d02744150658fb240b206a6cc4 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Wed, 20 Feb 2013 19:43:41 -0800 Subject: [PATCH] fix categories --- TorrentToMedia.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 213a1f6e..8a0ac347 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -285,8 +285,9 @@ compressedContainer = config.get("Torrent", "compressedExtentions") mediaContainer = config.get("Torrent", "mediaExtentions") metaContainer = config.get("Torrent", "metaExtentions") categories = config.get("Torrent", "categories") -categories = categories.append(movieCategory) -categories = categories.append(tvCategory) #now have a list of all categories in use. +categories = categories.split(',') #convert to list. +categories.append(movieCategory) +categories.append(tvCategory) #now have a list of all categories in use. status = int(1) # We start as "failed" until we verify movie file in destination root = int(0)