fix for syntax error for check_imap_quote (fixes #44)

- fixed syntax error by added missing closing bracket as mentioned in issue #44