diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-04 14:20:03 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-04 14:20:03 +0200 |
commit | 3e5c3c4b820f7c7cb7104c186f5c31d388e4d1b4 (patch) | |
tree | b9bc58dc0575775575eee9b436a7ca01672732ee | |
parent | updated translations + dutch (diff) | |
download | pyload-3e5c3c4b820f7c7cb7104c186f5c31d388e4d1b4.tar.xz |
pyLoad 0.4.8v0.4.8
-rw-r--r-- | module/gui/connector.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/Xdcc.py | 14 | ||||
-rwxr-xr-x | pyLoadCore.py | 4 |
3 files changed, 4 insertions, 16 deletions
diff --git a/module/gui/connector.py b/module/gui/connector.py index 74d791776..129d26a50 100644 --- a/module/gui/connector.py +++ b/module/gui/connector.py @@ -16,7 +16,7 @@ @author: mkaay """ -SERVER_VERSION = "0.4.7" +SERVER_VERSION = "0.4.8" from time import sleep from uuid import uuid4 as uuid diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py index 849748249..7d83b050c 100644 --- a/module/plugins/hoster/Xdcc.py +++ b/module/plugins/hoster/Xdcc.py @@ -215,7 +215,7 @@ class Xdcc(Hoster): self.log.info("XDCC: Downloading %s from %s:%d" % (packname, ip, port))
self.pyfile.setStatus("downloading")
- newname = self.req.download(ip, port, filename, self.pyfile.progress.setValue)
+ newname = self.req.download(ip, port, filename, self.pyfile.setProgress)
if newname and newname != filename:
self.log.info("%(name)s saved as %(newname)s" % {"name": self.pyfile.name, "newname": newname})
filename = newname
@@ -224,18 +224,6 @@ class Xdcc(Hoster): # sock.send("QUIT :byebye\r\n")
sock.close()
- if self.core.config["permission"]["change_file"]:
- chmod(filename, int(self.core.config["permission"]["file"],8))
-
- if self.core.config["permission"]["change_dl"] and os.name != "nt":
- try:
- uid = getpwnam(self.config["permission"]["user"])[2]
- gid = getgrnam(self.config["permission"]["group"])[2]
-
- chown(filename, uid, gid)
- except Exception,e:
- self.log.warning(_("Setting User and Group failed: %s") % str(e))
-
self.lastDownload = filename
return self.lastDownload
diff --git a/pyLoadCore.py b/pyLoadCore.py index 0318be90e..9a32b78cc 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -18,9 +18,9 @@ @author: sebnapi @author: RaNaN @author: mkaay - @version: v0.4.7 + @version: v0.4.8 """ -CURRENT_VERSION = '0.4.7' +CURRENT_VERSION = '0.4.8' import __builtin__ |