remove threading

This commit is contained in:
Tyrel Souza 2015-07-21 10:07:01 -04:00
parent bcf113cf80
commit 3f543d66db

View File

@ -1,8 +1,6 @@
__author__ = 'tyrelsouza' __author__ = 'tyrelsouza'
import os import os
import json import json
import threading
import time
def get_dropbox_dir(): def get_dropbox_dir():
@ -25,16 +23,3 @@ def get_dropbox_dir():
dropbox_dir = os.path.expanduser("~") dropbox_dir = os.path.expanduser("~")
return dropbox_dir return dropbox_dir
class ThreadedTask(threading.Thread):
def __init__(self, queue, report):
threading.Thread.__init__(self)
self.queue = queue
self.report = report
def run(self):
self.report.run()
self.report.save()
self.queue.put("Task finished")