From ee46b66e10d66c23fb7136eb74e86b341f68761b Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 20 May 2019 14:07:04 -0300 Subject: [PATCH] Update deduplica_comissao.py Co-Authored-By: Cesar Augusto de Carvalho --- deduplica_comissao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deduplica_comissao.py b/deduplica_comissao.py index 5355248ba..525e82ea3 100644 --- a/deduplica_comissao.py +++ b/deduplica_comissao.py @@ -50,7 +50,7 @@ def move_comissao(from_id, to_id): o.comissao = _to_comissao o.save() except IntegrityError as e: - print(e) + print(str(e)) o.delete()