sugar-toolkit-gtk3/sugar/objects/mime.py

5 lines
121 B
Python
Raw Normal View History

2007-05-23 11:55:21 +02:00
from sugar import _sugarext
def get_from_filename(filename):
return _sugarext.get_mime_type_from_filename(filename)