]> Nutra Git (v2) - nutratech/cli.git/commitdiff
fix null bug_insert if args=None
authorShane Jaroch <chown_tee@proton.me>
Fri, 19 Jul 2024 15:19:32 +0000 (11:19 -0400)
committerShane Jaroch <chown_tee@proton.me>
Fri, 19 Jul 2024 15:19:32 +0000 (11:19 -0400)
ntclient/services/bugs.py

index d850b2c4623d3a9b4d1d994fdaf799d83d7c488f..df2462c347ece174a36d0fc7c30a51adc041491f 100644 (file)
@@ -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__)),