sorry for wasting everyone's time.
script worked, made a change and somehow changed the one line from
LoopingCall to LoopCall, I should have noticed that, but I've been
coding for a while and just missed. Thanks.
changed now and works
if self.checkIfFirefoxWasKilledLoop.running:
logging.debug("FiresharkProtocol.checkIfFirefoxWasKilled is running.")
else:
logging.debug("FiresharkProtocol.checkIfFirefoxWasKilled is NOT
running. starting..\
.")
self.checkIfFirefoxWasKilledLoop =
LoopingCall(self.checkIfFirefoxWasKilled)
self.checkIfFirefoxWasKilledLoop.start(0.5, now=True)
except AttributeError:
logging.debug("FiresharkProtocol.checkIfFirefoxWasKilled exist but is
NOT running. starting\
...")
self.checkIfFirefoxWasKilledLoop =
LoopingCall(self.checkIfFirefoxWasKilled)
self.checkIfFirefoxWasKilledLoop.start(0.5, now=True)
try:
On Wed, Sep 7, 2011 at 11:34 PM, Laurens Van Houtven <[email protected]> wrote:
> I've never heard of LoopCall. Maybe you meant LoopingCall?
>
> cheers
> lvh
> _______________________________________________
> Twisted-Python mailing list
> [email protected]
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python