From 5d53ab19efc32330d2c5ef418d7fd1de327844c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Wed, 25 Dec 2024 13:08:48 +0100 Subject: [PATCH] that's not a warning, that's a note --- src/c3nav/mapdata/management/commands/importnoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c3nav/mapdata/management/commands/importnoc.py b/src/c3nav/mapdata/management/commands/importnoc.py index be267bf4..56c404fc 100644 --- a/src/c3nav/mapdata/management/commands/importnoc.py +++ b/src/c3nav/mapdata/management/commands/importnoc.py @@ -112,14 +112,14 @@ class Command(BaseCommand): if not unary_union([unwrap_geom(h.geometry) for h in new_space.holes.all()]).intersects(new_geometry): # current selected spacae is fine, that's it break - print(f"WARNING: {name} is in a hole, looking lower...") + print(f"NOTE: {name} is in a hole, looking lower...") # find a lower space possible_spaces = [space for space in spaces_for_level[lower_level] if space.geometry.intersects(new_geometry)] if possible_spaces: new_space = possible_spaces[0] - print(f"WARNING: {name} moved to lower space {new_space}") + print(f"NOTE: {name} moved to lower space {new_space}") else: print(f"WARNING: {name} couldn't find a lower space, still in a hole")