Permalink
Browse files

BIG mistake is the mimetype recognition, fixed

  • Loading branch information...
1 parent 7d9c777 commit f6ae7a9aaae3ee1ff9293e0b99299be8008f5f8c @Malphaet Malphaet committed Aug 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Modules/functions.py
View
@@ -131,7 +131,7 @@ def LESS(a,b):
#------------------------#
def TYPE(f):
- return mimetypes.guess_type(f)
+ return mimetypes.guess_type(f)[0]
def NAME(f):
return os.path.basename(f)
def EXT(f):

0 comments on commit f6ae7a9

Please sign in to comment.