From 31bd15f186878bad638d0d59da49bb29fd4628a8 Mon Sep 17 00:00:00 2001 From: Leonardo Date: Sat, 26 Jun 2010 09:16:04 +0200 Subject: [PATCH] Typo. --- mlmanager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mlmanager.py b/mlmanager.py index a01fcc8..e6a4d6d 100644 --- a/mlmanager.py +++ b/mlmanager.py @@ -289,13 +289,13 @@ class Download(): because often mldonkey user is not the user that needs to organize the downloads """ - os.chmod(self._dest_file, stat.S_IRGRP) - os.chmod(self._dest_file, stat.S_IWGRP) + os.chmod(self._dest_path, stat.S_IRGRP) + os.chmod(self._dest_path, stat.S_IWGRP) def make_public(self): """Make the file public, i.e. let anyone modify it.""" - os.chmod(self._dest_file, stat.S_IROTH) - os.chmod(self._dest_file, stat.S_IWOTH) + os.chmod(self._dest_path, stat.S_IROTH) + os.chmod(self._dest_path, stat.S_IWOTH) def rsync(self, remote_destination): """Rsync the file to the remote destination. There must be an ssh key -- 2.1.4