From 94c1cceae1e58c0b7cff09bef684751978d878e3 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 11 Jan 2014 22:23:20 +0100 Subject: small cleanup, fixed some test cases --- pyload/DownloadManager.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pyload/DownloadManager.py (limited to 'pyload/DownloadManager.py') diff --git a/pyload/DownloadManager.py b/pyload/DownloadManager.py new file mode 100644 index 000000000..b877db355 --- /dev/null +++ b/pyload/DownloadManager.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +############################################################################### +# Copyright(c) 2008-2014 pyLoad Team +# http://www.pyload.org +# +# This file is part of pyLoad. +# pyLoad is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# Subjected to the terms and conditions in LICENSE +# +# @author: RaNaN +############################################################################### + + +class DownloadManager: + """ Schedules and manages download and decrypter jobs. """ + + def __init__(self, core): + self.core = core + + def work(self): + """ Does the periodical work """ + -- cgit v1.2.3