Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BIG mistake is the mimetype recognition, fixed

  • Loading branch information...
commit f6ae7a9aaae3ee1ff9293e0b99299be8008f5f8c 1 parent 7d9c777
@Malphaet Malphaet authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Modules/functions.py
View
2  Modules/functions.py
@@ -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.
Something went wrong with that request. Please try again.