Merge branch 'patch-1' of https://github.com/SmartHoneybee/transwhat into SmartHoneybee-patch-1

This commit is contained in:
Steffen Vogel 2017-10-29 20:31:15 +01:00
commit 004422e81e

View file

@ -33,13 +33,13 @@ import asyncore
import sys, os import sys, os
import e4u import e4u
import Queue import Queue
import threadutils import transWhat.threadutils
sys.path.insert(0, os.getcwd()) sys.path.insert(0, os.getcwd())
from Spectrum2.iochannel import IOChannel from Spectrum2.iochannel import IOChannel
from Spectrum2.config import SpectrumConfig from Spectrum2.config import SpectrumConfig
from whatsappbackend import WhatsAppBackend from transWhat.whatsappbackend import WhatsAppBackend
from yowsup.common import YowConstants from yowsup.common import YowConstants
from yowsup.stacks import YowStack from yowsup.stacks import YowStack
@ -116,7 +116,7 @@ def main():
break break
while True: while True:
try: try:
callback = threadutils.eventQueue.get_nowait() callback = transWhat.threadutils.eventQueue.get_nowait()
except Queue.Empty: except Queue.Empty:
break break
else: else: