summaryrefslogtreecommitdiffstats
path: root/pyload/DownloadManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-11 22:23:20 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-11 22:23:20 +0100
commit94c1cceae1e58c0b7cff09bef684751978d878e3 (patch)
tree9e2f9eebce7602431aaa24cbd5f8871e48e4ff3f /pyload/DownloadManager.py
parentfixed error from last commit (diff)
downloadpyload-94c1cceae1e58c0b7cff09bef684751978d878e3.tar.xz
small cleanup, fixed some test cases
Diffstat (limited to 'pyload/DownloadManager.py')
-rw-r--r--pyload/DownloadManager.py28
1 files changed, 28 insertions, 0 deletions
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 """
+