svn: r4201
This commit is contained in:
Martin Hawlisch 2005-03-17 19:38:03 +00:00
parent 3dfcf51269
commit 42353719e3

View File

@ -55,7 +55,7 @@ def get_type(file):
def mime_type_is_defined(type): def mime_type_is_defined(type):
""""Return True if a description for a mime type exists""" """"Return True if a description for a mime type exists"""
try: try:
type = get_mime_type(file) mime_get_description(type)
return True return True
except: except:
return False return False