Commits

Svyatoslav Bulbakha committed 1782aef

Fix user

Comments (0)

Files changed (1)

djangodash/apps/webgrab/tasks.py

     site.status = 'process'
     site.save()
 
+    user = site.user
+
     # Run webspider that parse urls and process it.
     bot = WebSpider(site)
     bot.base_url = site.url
 
     # Set site status to done whan is successfully processed.
     site.status = 'done'
+    site.user = user
     site.save()