mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Merge pull request #244 from sayrer/master
fix exception throwing syntax
This commit is contained in:
commit
c1838bde7f
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class BaseBrowserCommand(object):
|
||||||
self._fixupMacPath()
|
self._fixupMacPath()
|
||||||
|
|
||||||
if not os.path.exists(self.path):
|
if not os.path.exists(self.path):
|
||||||
throw("Path to browser '%s' does not exist." % self.path)
|
raise Exception("Path to browser '%s' does not exist." % self.path)
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
self.tempDir = tempfile.mkdtemp()
|
self.tempDir = tempfile.mkdtemp()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue