From 5d03d9e7c797dede08b5b0e989688237fcf9e3f0 Mon Sep 17 00:00:00 2001 From: sebnapi Date: Sun, 10 May 2009 16:59:47 +0000 Subject: Approach for Plugindesign --- Core.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'Core.py') 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 -- cgit v1.2.3