diff options
| author | 2011-10-04 14:20:03 +0200 | |
|---|---|---|
| committer | 2011-10-04 14:20:03 +0200 | |
| commit | 3e5c3c4b820f7c7cb7104c186f5c31d388e4d1b4 (patch) | |
| tree | b9bc58dc0575775575eee9b436a7ca01672732ee /module | |
| parent | updated translations + dutch (diff) | |
| download | pyload-3e5c3c4b820f7c7cb7104c186f5c31d388e4d1b4.tar.xz | |
pyLoad 0.4.8v0.4.8
Diffstat (limited to 'module')
| -rw-r--r-- | module/gui/connector.py | 2 | ||||
| -rw-r--r-- | module/plugins/hoster/Xdcc.py | 14 | 
2 files changed, 2 insertions, 14 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
 | 
