import/export
This commit is contained in:
parent
ec83ec052c
commit
dbfdd50a29
16 changed files with 120 additions and 84 deletions
|
|
@ -5,9 +5,6 @@ from __future__ import division
|
|||
from tornado.websocket import WebSocketHandler
|
||||
from tornado.ioloop import IOLoop
|
||||
from Queue import Queue
|
||||
import urllib2
|
||||
import os
|
||||
from contextlib import closing
|
||||
import json
|
||||
from threading import Thread
|
||||
|
||||
|
|
@ -19,9 +16,9 @@ class Background:
|
|||
|
||||
def __init__(self, handler):
|
||||
self.handler = handler
|
||||
self.main = IOLoop.instance()
|
||||
self.q = Queue()
|
||||
self.connected = True
|
||||
self.main = IOLoop.instance()
|
||||
|
||||
def worker(self):
|
||||
while self.connected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue