Remboooo/mendeley2bib — pull request #1 by daenney (2012-09-14 13:29:09+00:00)
Title: OS X support and some cleanup

The Mendeley Folder on OS X is located in ~/Library/Application
Support/Mendeley.

Store the complete path in hdir and return it once at the end.

os.path.join is only useful if you are unaware of the platform and
hence need to join the directories with os.sep. If you already know
the platform there's no need and can use os.expanduser in one go.