Trakt.tv add password for protected api. fix #147

This commit is contained in:
Ruud
2012-05-05 15:42:37 +02:00
parent 9217b037a6
commit eb0669f15c
3 changed files with 28 additions and 2 deletions
+3
View File
@@ -59,6 +59,9 @@ def flattenList(l):
def md5(text):
return hashlib.md5(text).hexdigest()
def sha1(text):
return hashlib.sha1(text).hexdigest()
def getExt(filename):
return os.path.splitext(filename)[1][1:]