src/eric7/Utilities/MimeTypes.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9534
5ed8445f3b31
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
7 Module implementing mimetype dependent functions. 7 Module implementing mimetype dependent functions.
8 """ 8 """
9 9
10 import mimetypes 10 import mimetypes
11 11
12 import Preferences 12 from eric7 import Preferences
13 13
14 14
15 def isTextFile(filename): 15 def isTextFile(filename):
16 """ 16 """
17 Function to test, if the given file is a text (i.e. editable) file. 17 Function to test, if the given file is a text (i.e. editable) file.

eric ide

mercurial