From 25eabaf841d72775afdee5f50a1fb150b3d6a63b Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Tue, 18 Mar 2025 21:50:00 -0700 Subject: [PATCH] Fix windows being an inferior OS --- build-tools/generate_settngs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-tools/generate_settngs.py b/build-tools/generate_settngs.py index bd52cf0..4083751 100644 --- a/build-tools/generate_settngs.py +++ b/build-tools/generate_settngs.py @@ -1,5 +1,6 @@ from __future__ import annotations +import os import pathlib import settngs @@ -15,7 +16,8 @@ def generate() -> str: imports2, types2 = settngs.generate_ns(app.manager.definitions) i = imports.splitlines() i.extend(set(imports2.splitlines()) - set(i)) - return "\n\n".join(("\n".join(i), types2, types)) + os.linesep + return (os.linesep * 2).join((os.linesep.join(i), types2, types)) if __name__ == "__main__":