Fix typo in format string in machineui

This was causing the error message "not all arguments converted during
string formatting." Specifically:

```
% offlineimap -u machineui
OfflineIMAP 7.0.4
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
msg:protocol:MainThread:7.2.0
msg:initbanner:MainThread:OfflineIMAP+7.0.4%0A++Licensed+under+the+GNU+GPL+v2+or+any+later+version+%28with+an+OpenSSL+exception%29
msg:registerthread:Account+sync+MYHOST:MYHOST
msg:acct:Account+sync+MYHOST:MYHOST
error::Account+sync+MYHOST:ERROR%3A+While+attempting+to+sync+account+%27MYHOST%27%0A++not+all+arguments+converted+during+string+formatting
msg:acctdone:Account+sync+MYHOST:MYHOST
msg:threadExited:MainThread:Account+sync+MYHOST
msg:unregisterthread:MainThread:Account+sync+MYHOST
msg:terminate:MainThread:0%0A%0A
```

Signed-off-by: Christopher League <league@contrapunctus.net>
This commit is contained in:
Christopher League 2016-08-03 12:17:09 -04:00
parent 460fc614b6
commit f8ef9fce66
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class MachineUI(UIBase):
folder.get_saveduidvalidity(), folder.get_uidvalidity()))
def connecting(s, reposname, hostname, port):
s._printData(s.logger.info, 'connecting', "%s\n%s\nMs"% (hostname,
s._printData(s.logger.info, 'connecting', "%s\n%s\n%s"% (hostname,
str(port), reposname))
def syncfolders(s, srcrepos, destrepos):