diff options
-rw-r--r-- | module/network/HTTPDownload.py | 2 | ||||
-rw-r--r-- | module/setup.py | 2 | ||||
-rw-r--r-- | module/web/templates/default/login.html | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py index 50b33cd97..c43d714ef 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -91,7 +91,7 @@ class HTTPDownload(): fo.seek(self.info.getChunkRange(i - 1)[1] + 1) #seek to beginning of chunk, to get rid of overlapping chunks fname = "%s.chunk%d" % (self.filename, i) fi = open(fname, "rb") - buf = 512 * 1024 + buf = 32 * 1024 while True: #copy in chunks, consumes less memory data = fi.read(buf) if not data: diff --git a/module/setup.py b/module/setup.py index 856bd0ea7..920323adb 100644 --- a/module/setup.py +++ b/module/setup.py @@ -238,7 +238,7 @@ class Setup(): try: import jinja2 - if jinja2.__version__ and not jinja2.__version__.startswith("2.5"): #@TODO: could be to new aswell + if jinja2.__version__ and "unknown" not in jinja2.__version__ and not jinja2.__version__.startswith("2.5"): #@TODO: could be to new aswell print _("Your installed jinja2 version %s is too old.") % jinja2.__version__ print _("Please upgrade or deinstall it, pyLoad includes a sufficient jinja2 libary.") print diff --git a/module/web/templates/default/login.html b/module/web/templates/default/login.html index 0e9e4d568..efca4269b 100644 --- a/module/web/templates/default/login.html +++ b/module/web/templates/default/login.html @@ -27,6 +27,7 @@ {% if errors %} <p>{{_("Your username and password didn't match. Please try again.")}}</p> + {{ _("To reset your login data or add an user run:") }} <b> python pyLoadCore.py -u</b> {% endif %} </div> |