Skip to content

Commit 65292e4

Browse files
committed
Merge pull request #69 from kasioumis/master-webcomment-format-improvements
WebComment: fix upgrade for new body_format column
2 parents 751dbd1 + 9bb671d commit 65292e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/miscutil/lib/upgrades/invenio_2014_07_30_webcomment_new_column_body_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def do_upgrade():
7878

7979
for (comment_id, comment_body, comment_body_format) in comments:
8080

81-
if comment_body_format == CFG_WEBCOMMENT_BODY_FORMATS["HTML"]:
81+
if comment_body_format == CFG_WEBCOMMENT_BODY_FORMATS["TEXT"]:
8282

8383
comment_body = email_quoted_txt2html(
8484
comment_body,

0 commit comments

Comments
 (0)