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

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

Revision 1.1.1.1 (vendor branch), Sat Jan 31 17:52:53 2009 UTC (15 years, 5 months ago) by nbrk
Branch: VENDOR_1_6, MAIN
CVS Tags: nbrk_31_01_2009, HEAD
Changes since 1.1: +0 -0 lines

Import pykanjicard, a nice kanji flash card program.

$OpenBSD$
--- pykanjiedit.py.orig	Sat Jan 31 19:54:56 2009
+++ pykanjiedit.py	Sat Jan 31 19:55:49 2009
@@ -468,6 +468,9 @@ if os.path.exists (DICT):
 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