From 180207c80bd7f624ffed5a5fcd4e57cadcff236c Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 22 Jan 2024 16:08:57 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix(wip):=20dupe=20check=20is=20?= =?UTF-8?q?a=20warn=20and=20only=20shows=20up=20if=20verbose,=20checked=20?= =?UTF-8?q?and=20it=20works?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magnet/ize/memory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnet/ize/memory.py b/magnet/ize/memory.py index 9217de3..859757e 100644 --- a/magnet/ize/memory.py +++ b/magnet/ize/memory.py @@ -83,7 +83,7 @@ async def index(self, payload, msg, verbose=False, field=None, charge=False, ins await self.field.pulse(payload) await msg.ack_sync() else: - _f('info', f'embedding exists already\n{payload.text}') + _f('warn', f'embedding exists already\n{payload.text}') if verbose else None await msg.ack_sync() except Exception as e: await msg.term()