diff --git a/offlineimap/ui/Machine.py b/offlineimap/ui/Machine.py index bb8c7fa..7a480ae 100644 --- a/offlineimap/ui/Machine.py +++ b/offlineimap/ui/Machine.py @@ -108,10 +108,10 @@ class MachineUI(UIBase): (s.getnicename(sr), sf.getname(), s.getnicename(dr), df.getname())) - def copyingmessage(s, uid, src, destfolder): - s._printData('copyingmessage', "%d\n%s\n%s\n%s[%s]" % \ - (uid, s.getnicename(src), src.getname(), - destfolder.getnicename(), destfolder)) + def copyingmessage(self, uid, srcfolder, destfolder): + self._printData('copyingmessage', "%d\n%s\n%s\n%s[%s]" % \ + (uid, self.getnicename(srcfolder), srcfolder.getname(), + self.getnicename(destfolder), destfolder)) def folderlist(s, list): return ("\f".join(["%s\t%s" % (s.getnicename(x), x.getname()) for x in list]))