depot/third_party/nixpkgs/pkgs/development/python-modules/youseedee/0001-use-packaged-unicode-data.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

16 lines
440 B
Diff

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():