This commit is contained in:
2018-08-11 08:31:03 +02:00
parent 99b43200f4
commit 44d8671ea2
3 changed files with 2 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{ {
"python.pythonPath": "/home/jan/anaconda3/bin/python", "python.pythonPath": "/usr/bin/python3",
"python.linting.pylintEnabled": true, "python.linting.pylintEnabled": true,
"python.linting.pep8Enabled": false, "python.linting.pep8Enabled": false,
"python.linting.enabled": true "python.linting.enabled": true

View File

@@ -87,7 +87,6 @@ def init():
global regular global regular
regular = { regular = {
'/*' : 'CSTART', '/*' : 'CSTART',
'*' : 'CMID',
'*/' : 'CEND', '*/' : 'CEND',
'=' : 'ASSIGN', '=' : 'ASSIGN',
'==' : 'EQUAL', '==' : 'EQUAL',

View File

@@ -54,7 +54,7 @@ class Worker:
#print("Working") #print("Working")
task = self.work_queue.get(2) task = self.work_queue.get(2)
#print(task) #print(task)
time.sleep(0.01) time.sleep(0.1)
self.work_queue.task_done() self.work_queue.task_done()
print(self.work_queue.qsize()) print(self.work_queue.qsize())
self.signal_queue.put("work_update") self.signal_queue.put("work_update")