kivy/kivy — pull request #1075 by smishlayev (2013-03-31 14:08:34+00:00)
Title: Update app.py

Handle situation when Window is None (e.g. when App's build() returned nothing). Error message could be better, but it does the job.