piskvorky/sqlitedict — pull request #10 by da4089 (2014-06-19 06:14:45+00:00)
Title: Support filenames without an explicit path.

os.path.dirname() returns an empty string if the filename argument has directory component. os.path.exists() fails to find an empty path, so when doing SqliteDict("foo.db") you get an exception.

This commit changes the sanity check to support a filename without an explicit path component.