From 53cce2dce0956239718f5f48793d1811cf543793 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Jul 2022 14:16:11 -0400 Subject: lv2specgen: Fix installed data paths --- lv2specgen/lv2specgen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lv2specgen') diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index da58e4f..0c5a87d 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -1515,9 +1515,9 @@ if __name__ == "__main__": for d in _data_dirs(): path = os.path.join(d, "lv2specgen") if ( - os.path.exists(os.path.join(d, "template.html")) - and os.path.exists(os.path.join(d, "style.css")) - and os.path.exists(os.path.join(d, "pygments.css")) + os.path.exists(os.path.join(path, "template.html")) + and os.path.exists(os.path.join(path, "style.css")) + and os.path.exists(os.path.join(path, "pygments.css")) ): data_dir = path break -- cgit v1.2.1