[phantomjs] Fix bug in 587021cd9f (#4833)

Authored by: elyse0
This commit is contained in:
Elyse
2022-09-03 01:44:01 -05:00
committed by GitHub
parent aa824dd10b
commit 69082b38dc

View File

@@ -212,7 +212,7 @@ class PhantomJSwrapper:
'jscode': jscode,
}))
stdout = self.execute(jscode, video_id, note2)
stdout = self.execute(jscode, video_id, note=note2)
with open(self._TMP_FILES['html'].name, 'rb') as f:
html = f.read().decode('utf-8')