about summary refs log tree commit diff
path: root/pkgs/development/python-modules/youseedee/0001-use-packaged-unicode-data.patch
blob: 73aadac9a3de2970481e39ad5f6a29017a383994 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/lib/youseedee/__init__.py b/lib/youseedee/__init__.py
index d2aeab3..c706277 100644
--- a/lib/youseedee/__init__.py
+++ b/lib/youseedee/__init__.py
@@ -29,10 +29,7 @@ UCD_URL = "https://unicode.org/Public/UCD/latest/ucd/UCD.zip"
 
 
 def ucd_dir():
-    ucddir = os.path.expanduser("~/.youseedee")
-    if not os.path.isdir(ucddir):
-        os.mkdir(ucddir)
-    return ucddir
+    return "@ucd_dir@"
 
 
 def ensure_files():