From 7fd744c83849f966d2f298b7bc03448fa1f9f02c Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Thu, 9 Jan 2014 13:52:55 +0100 Subject: [PATCH] app: fix tests for resolved kv_file --- kivy/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/app.py b/kivy/app.py index 2f5e38f55..cda367d97 100644 --- a/kivy/app.py +++ b/kivy/app.py @@ -579,7 +579,7 @@ class App(EventDispatcher): # Load KV file Logger.debug('App: Loading kv <{0}>'.format(filename)) rfilename = resource_find(filename) - if not exists(rfilename): + if rfilename is None or not exists(rfilename): Logger.debug('App: kv <%s> not found' % filename) return False root = Builder.load_file(rfilename)