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

Authored by: elyse0
pull/4839/head
Elyse 2 years ago committed by GitHub
parent aa824dd10b
commit 69082b38dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -212,7 +212,7 @@ class PhantomJSwrapper:
'jscode': jscode, '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: with open(self._TMP_FILES['html'].name, 'rb') as f:
html = f.read().decode('utf-8') html = f.read().decode('utf-8')

Loading…
Cancel
Save