修改coding代码扫描警告

This commit is contained in:
qihao.gong@jikimo.com
2023-11-27 17:08:11 +08:00
parent 964618d365
commit c78ea6fbe5
15 changed files with 24 additions and 42 deletions

View File

@@ -18,4 +18,4 @@ class Common(models.Model):
tsclibrary.printlabelW("0", "1");
tsclibrary.closeport();
except Exception as e:
raise UserWarning("错误警告")
raise UserWarning("错误警告:%s" % e)