Correct discourse group sync task calling.

This commit is contained in:
Adarnof
2016-12-20 01:20:31 +00:00
parent 8582584fd5
commit ce35e72e44
2 changed files with 0 additions and 2 deletions

View File

@@ -489,7 +489,6 @@ def update_all_discord_nicknames():
@task(bind=True)
@only_one(key="Discourse", timeout=60*5)
def update_discourse_groups(self, pk):
user = User.objects.get(pk=pk)
logger.debug("Updating discourse groups for user %s" % user)