openyou / emokit

Open source driver for accessing raw data from the Emotiv EPOC EEG headset
http://www.openyou.org
Other
521 stars 235 forks source link

Python2 'Queue' instead of 'queue' #208

Closed Morgan243 closed 7 years ago

Morgan243 commented 7 years ago

The queue module in is capitalized for Python2, but lower case for Python3, see docs. I've replaced imports in my own code with something like the following:

try:
    from queue import Queue
except:
    from Queue import Queue

It seems like this project is aiming to support both Python 2 & 3, so this should be fixed unless I'm mistaken. I can push a commit to fix if need be.

ghost commented 7 years ago

That would be great.

ghost commented 7 years ago

Thanks!