summaryrefslogtreecommitdiffstats
path: root/Core.py
diff options
context:
space:
mode:
authorGravatar sebnapi <devnull@localhost> 2009-05-10 18:59:47 +0200
committerGravatar sebnapi <devnull@localhost> 2009-05-10 18:59:47 +0200
commit5d03d9e7c797dede08b5b0e989688237fcf9e3f0 (patch)
treece6c4430d0732f79716757cb01eb5d9ef80adeec /Core.py
parentordnung muss sein (diff)
downloadpyload-5d03d9e7c797dede08b5b0e989688237fcf9e3f0.tar.xz
Approach for Plugindesign
Diffstat (limited to 'Core.py')
-rw-r--r--Core.py14
1 files changed, 2 insertions, 12 deletions
diff --git a/Core.py b/Core.py
index f8eadeb78..c0c3a5d56 100644
--- a/Core.py
+++ b/Core.py
@@ -34,19 +34,9 @@ from time import sleep
#my imports
from download_thread import Download_Thread
from thread_list import Thread_List
+from Py_Load_File import PyLoadFile
-basicConfig(filename='Logs/faild.txt', format = '%(message)s')
-
-class PyLoadFile:
- """ represents the url or file
- """
- def __init__(self, plugin, plugin_name, url):
- self.id = None
- self.plugin_name = plugin_name
- self.plugin = plugin
- self.url = url
- self.download_folder = ""
- self.status = None
+basicConfig(filename='Logs/faild.txt', format = '%(message)s')
class Core(object):
""" pyLoad main