X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0ad5d07da08894c96caf49e05e9cf649e58d6554..7fc0c9f2c94f090d9f743798cd9ef835757dcbc2:/forum_modules/sximporter/importer.py diff --git a/forum_modules/sximporter/importer.py b/forum_modules/sximporter/importer.py index 1f71f37..98c9dbd 100644 --- a/forum_modules/sximporter/importer.py +++ b/forum_modules/sximporter/importer.py @@ -769,9 +769,6 @@ def badges_import(dump, uidmap, post_list): osqaa.save() badge.awarded_count += 1 - # After the update of the badge awarded count property we should save the model. - badge.save() - user_badge_count[user_id] += 1 readTable(dump, "Users2Badges", callback)