Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 35a33d96
authored
Mar 17, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan pesan error pada fungsi pembersihan HTML
1 parent
0796cba7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
opensipkd/base/views/base_views.py
opensipkd/base/views/base_views.py
View file @
35a33d9
...
...
@@ -968,7 +968,7 @@ class BaseView(object):
try
:
values
[
k
]
=
lxml
.
html
.
fromstring
(
v
)
.
text_content
()
except
Exception
as
e
:
msg
=
f
"Error cleaning HTML for key {k}: {e}"
msg
=
f
"Error cleaning HTML for key {k}: {
v} is {
e}"
log
.
error
(
msg
)
raise
Exception
(
msg
)
from
e
...
...
@@ -1024,7 +1024,7 @@ class BaseView(object):
try
:
values
[
k
]
=
lxml
.
html
.
fromstring
(
v
)
.
text_content
()
except
Exception
as
e
:
msg
=
f
"Error cleaning HTML for key {k}: {e}"
msg
=
f
"Error cleaning HTML for key {k}: {
v} is {
e}"
log
.
error
(
msg
)
raise
Exception
(
msg
)
from
e
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment