1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Fix wrong exception throwing syntax.

This commit is contained in:
Rob Sayre 2011-07-10 07:54:19 -07:00
parent 446100047f
commit e7e8e4f6c9

View file

@ -189,7 +189,7 @@ class BaseBrowserCommand(object):
self._fixupMacPath()
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):
self.tempDir = tempfile.mkdtemp()