Skip to content

Commit

Permalink
[FIX] convert_field_to_html: fix format call on string
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillemCForgeFlow committed Oct 10, 2024
1 parent c5713fc commit cb2fb9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openupgradelib/openupgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -2473,9 +2473,9 @@ def convert_field_to_html(
if translate:
if version_info[0] < 16:
do_raise("Translatable fields are only managed in version 16.0 or higher")
cr.execute("SELECT id, {field_name} FROM {table};").format(
cr.execute("SELECT id, {field_name} FROM {table};".format(
field_name=field_name, table=table
) # pylint: disable=E8103
)) # pylint: disable=E8103
for row in cr.fetchall():
record_id, translations = row
for lang in translations:
Expand Down

0 comments on commit cb2fb9b

Please sign in to comment.