Return to patch-pykanjicard_py CVS log | Up to [local] / ports / japanese / pykanjicard / patches |
File: [local] / ports / japanese / pykanjicard / patches / patch-pykanjicard_py (download)
Revision 1.1.1.1 (vendor branch), Sat Jan 31 17:52:53 2009 UTC (15 years, 5 months ago) by nbrk
Import pykanjicard, a nice kanji flash card program. |
$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