[BACK]Return to patch-pykanjicard_py CVS log [TXT][DIR] Up to [local] / ports / japanese / pykanjicard / patches

File: [local] / ports / japanese / pykanjicard / patches / patch-pykanjicard_py (download)

Revision 1.1, Sat Jan 31 17:52:53 2009 UTC (15 years, 3 months ago) by nbrk
Branch point for: MAIN

Initial revision

$OpenBSD$
--- pykanjicard.py.orig	Sat Jan 31 19:53:20 2009
+++ pykanjicard.py	Sat Jan 31 19:54:15 2009
@@ -269,6 +269,9 @@ class MainWindow:
     elif os.path.exists (sys.prefix + '/share/' + DICT):
       filename = sys.prefix + '/share/' + DICT
 
+    elif os.path.exists (sys.prefix + '/share/pykanjicard/' + DICT):
+      filename = sys.prefix + '/share/pykanjicard/' + DICT
+
     else:
       raise Exception, 'Cannot find "%s"' % DICT