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