Partial runner fix
This commit is contained in:
parent
04270e88c0
commit
9dd1954067
1 changed files with 4 additions and 2 deletions
|
@ -107,11 +107,13 @@ class History(models.Model):
|
||||||
output += str(entry) + '\n'
|
output += str(entry) + '\n'
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def play_histories(self):
|
async def play_histories(self):
|
||||||
""" Actually plays the history.
|
""" Actually plays the history.
|
||||||
"""
|
"""
|
||||||
self.played = True
|
self.played = True
|
||||||
runner = TorInstance(self.return_history())
|
runner = await TorInstance.create(
|
||||||
|
self.return_history(),
|
||||||
|
self.user.browser_fingerprint.serialize_headers())
|
||||||
runner.run()
|
runner.run()
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue