From 996dd57478abc6d9f67fa31b9790c0e897dcb131 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Tue, 27 Nov 2012 23:18:54 +0000 Subject: [PATCH] added contructor for fake QObject git-svn-id: http://comictagger.googlecode.com/svn/trunk@104 6c5673fe-1810-88d6-992b-cd32ca31540c --- comicvinetalker.py | 3 ++- imagefetcher.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/comicvinetalker.py b/comicvinetalker.py index 6ac0978..59308ef 100644 --- a/comicvinetalker.py +++ b/comicvinetalker.py @@ -31,7 +31,8 @@ try: except ImportError: # No Qt, so define a few dummy QObjects to help us compile class QObject(): - pass + def __init__(self,*args): + pass class pyqtSignal(): def __init__(self,*args): pass diff --git a/imagefetcher.py b/imagefetcher.py index b415bc2..b3215e8 100644 --- a/imagefetcher.py +++ b/imagefetcher.py @@ -32,7 +32,8 @@ try: except ImportError: # No Qt, so define a few dummy QObjects to help us compile class QObject(): - pass + def __init__(self,*args): + pass class QByteArray(): pass class pyqtSignal():