From a0ef01a0d1af3b3d8ecc651b32eda07f2fffaddc Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 13 Dec 2008 23:08:11 -0500 Subject: [PATCH] Use execution_path() for finding card images. --- pyfpdb/Mucked.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Mucked.py b/pyfpdb/Mucked.py index 1c83ef9b..7cb62918 100755 --- a/pyfpdb/Mucked.py +++ b/pyfpdb/Mucked.py @@ -266,7 +266,7 @@ class Stud_cards: card_images = {} suits = ('S', 'H', 'D', 'C') ranks = ('A', 'K', 'Q', 'J', 'T', '9', '8', '7', '6', '5', '4', '3', '2', 'B') - pb = gtk.gdk.pixbuf_new_from_file("54PFozzycards0.png") + pb = gtk.gdk.pixbuf_new_from_file(self.config.execution_path("54PFozzycards0.png")) for j in range(0, 14): for i in range(0, 4):