diff options
| author | Adam Hupp <adam@hupp.org> | 2015-01-06 11:24:19 -0800 |
|---|---|---|
| committer | Adam Hupp <adam@hupp.org> | 2015-01-06 11:24:19 -0800 |
| commit | 831945b1a12e2e6643002213a2dd393d95c1c2f3 (patch) | |
| tree | 3bd4fc9db3688154fbbe2d469bc2f7f2143e5a0a | |
| parent | 3664686df1e8e202bc449083d68ff0035ece63ea (diff) | |
| download | python-magic-831945b1a12e2e6643002213a2dd393d95c1c2f3.tar.gz | |
Update README.md
Document naming conflict with the file version of magic.py.
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ You can also combine the flag options: >>> f.from_file('testdata/test.gz') 'text/plain' +## Name Conflict + +There are, sadly, two libraries which use the module name `magic`. Both have been around for quite a while.If you are using this module and get an error using a method like `open`, your code is expecting the other one. Hopefully one day these will be recociled. + ## Installation The current stable version of python-magic is available on pypi and |
