refactored cleanup handlers to use a queue, so they will work with the GUI

This commit is contained in:
Micah Lee 2014-08-26 15:44:44 -07:00
parent a3fb7a930b
commit 0bc778437d
3 changed files with 22 additions and 13 deletions

View file

@ -1,5 +1,5 @@
from __future__ import division
import os, sys, subprocess, time, hashlib, platform, json, locale, socket, argparse, Queue, inspect, base64, random, functools, logging, ctypes, hmac
import os, sys, subprocess, time, hashlib, platform, json, locale, socket, argparse, Queue, inspect, base64, random, functools, logging, ctypes, hmac, shutil
from itertools import izip
import stem, stem.control, flask
from PyQt4 import QtCore, QtGui