worlds,clients,kvui: use user_path (#1622)

This commit is contained in:
black-sliver
2023-03-29 20:14:45 +02:00
committed by GitHub
parent bb79073ce7
commit 639606e0be
5 changed files with 12 additions and 6 deletions

View File

@@ -612,7 +612,7 @@ class KivyJSONtoTextParser(JSONtoTextParser):
ExceptionManager.add_handler(E())
Builder.load_file(Utils.local_path("data", "client.kv"))
user_file = Utils.local_path("data", "user.kv")
user_file = Utils.user_path("data", "user.kv")
if os.path.exists(user_file):
logging.info("Loading user.kv into builder.")
Builder.load_file(user_file)