kivy/kivy — pull request #597 by eichin (2012-07-29 20:12:53+00:00)
Title: force dirname output to "." when blank

Issue #595, using `%`-substitution isn't as clever as `os.path.join` is, so convert `dirname` output instead. (This is as portable as the existing code, which forces `'.'` when `inspect.getfile` throws a `TypeError`.)