Permalink
Browse files

Fix bug on FileSystem() where super() in __new__() was calling the CS…

…Converter class, instead of FileSystem. Whoops!!
  • Loading branch information...
1 parent 5b24d24 commit 26e49cc4c160a6c67534e837282e2ee1519cd56d IceArmy committed Sep 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/pyphantomjs/filesystem.py
View
2 python/pyphantomjs/filesystem.py
@@ -114,7 +114,7 @@ class FileSystem(QObject):
_instance = None
def __new__(cls, *args, **kwargs):
if cls._instance is None:
- cls._instance = super(CSConverter, cls).__new__(cls, *args, **kwargs)
+ cls._instance = super(FileSystem, cls).__new__(cls, *args, **kwargs)
return cls._instance
def __init__(self, parent):

0 comments on commit 26e49cc

Please sign in to comment.