From: Shane Jaroch Date: Fri, 19 Jul 2024 15:19:32 +0000 (-0400) Subject: fix null bug_insert if args=None X-Git-Tag: v0.2.8.dev2~1 X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=248f143289a0494fdaed508a0509cab1d0ffeb46;p=nutratech%2Fcli.git fix null bug_insert if args=None --- 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__)),