From e41a8fc191ef3090906f9c078bd47be677dfa13d Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 29 Jan 2009 22:36:46 +0000 Subject: [PATCH] Fix issue with previous commit, os.path.exists, not os.exists --- oblogout/oblogout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oblogout/oblogout.py b/oblogout/oblogout.py index dbf20bd..1bf207f 100644 --- a/oblogout/oblogout.py +++ b/oblogout/oblogout.py @@ -315,7 +315,7 @@ class OpenboxLogout(): box = gtk.VBox() image = gtk.Image() - if os.exists("%s/%s/oblogout/%s.svg" % (self.img_path, self.button_theme, name)): + if os.path.exists("%s/%s/oblogout/%s.svg" % (self.img_path, self.button_theme, name)): image.set_from_file("%s/%s/oblogout/%s.svg" % (self.img_path, self.button_theme, name)) else: image.set_from_file("%s/%s/oblogout/%s.png" % (self.img_path, self.button_theme, name))