diff --git a/sigi/apps/servicos/admin.py b/sigi/apps/servicos/admin.py index 984ade5..759fbe1 100644 --- a/sigi/apps/servicos/admin.py +++ b/sigi/apps/servicos/admin.py @@ -147,6 +147,8 @@ class ServicoAdmin(ReturnMixin, CartExportMixin, admin.ModelAdmin): if not obj.erro_atualizacao: return "" url = obj.url + if not url: + return obj.erro_atualizacao if url[-1] != "/": url += "/" if obj.tipo_servico.string_pesquisa: