Skip to content

Commit

Permalink
fix for python 2 (use six for Queue)
Browse files Browse the repository at this point in the history
  • Loading branch information
canterburycomputers committed Apr 13, 2016
1 parent 4be69fb commit 4e13ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions escposprinter/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'''
import os
import subprocess
from queue import Queue
from six.moves import queue
from sys import platform
from time import sleep

Expand Down Expand Up @@ -113,7 +113,7 @@ def __del__(self):
class Network(Escpos):
""" Define Network printer """

printerQueue = Queue()
printerQueue = queue.Queue()


def __init__(self,host,port=9100):
Expand Down

0 comments on commit 4e13ee2

Please sign in to comment.