nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 19 lines 775 B view raw
1diff --git a/pysollib/util.py b/pysollib/util.py 2index 8de3f00..26f4bc7 100644 3--- a/pysollib/util.py 4+++ b/pysollib/util.py 5@@ -110,13 +110,7 @@ class DataLoader: 6 head, tail = os.path.split(argv0) 7 if not head: 8 head = os.curdir 9- # dir where placed startup script 10- path.append(head) 11- path.append(os.path.join(head, "data")) 12- path.append(os.path.join(head, os.pardir, "data")) 13- # dir where placed pysol package 14- path.append(os.path.join(sys.path[0], "data")) 15- path.append(os.path.join(sys.path[0], "pysollib", "data")) 16+ path.append(os.path.join(head, "..", "share", "PySolFC")) 17 # from settings.py 18 path.extend(DATA_DIRS) 19 # check path for valid directories