Torrent support (courtesy of coolbombom), updated gitignore

This commit is contained in:
Remy Varma
2011-11-05 13:24:00 +00:00
parent 228178fd72
commit c5cd9c8451
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1,6 +1,7 @@
# Compiled source #
###################
*.pyc
*.py~
# Logs and databases #
######################
@@ -14,4 +15,4 @@ logs/*
.DS_Store?
ehthumbs.db
Icon?
Thumbs.db
Thumbs.db

View File

@@ -1,4 +1,4 @@
import urllib, urllib2
import urllib, urllib2, urlparse
import lib.feedparser as feedparser
from xml.dom import minidom
from xml.parsers.expat import ExpatError
@@ -877,4 +877,4 @@ def preprocesstorrent(resultlist):
except ExpatError:
logger.error('Unable to torrent file. Skipping.')
continue
return torrent, selresult
return torrent, selresult