From 248f143289a0494fdaed508a0509cab1d0ffeb46 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Fri, 19 Jul 2024 11:19:32 -0400 Subject: [PATCH] fix null bug_insert if args=None --- ntclient/services/bugs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntclient/services/bugs.py b/ntclient/services/bugs.py index d850b2c..df2462c 100644 --- a/ntclient/services/bugs.py +++ b/ntclient/services/bugs.py @@ -31,7 +31,7 @@ INSERT INTO bug """, ( 1, - " ".join(args), + " ".join(args) if args else None, exception.__class__.__name__, str(exception), os.linesep.join(traceback.format_tb(exception.__traceback__)), -- 2.52.0