Commits

Alexander Schremmer committed 62ec486

Simplify generated header.

  • Participants
  • Parent commits 0f83119

Comments (0)

Files changed (1)

dtgimapd/dtg2imap.py

 
     def getHeaders(self, negate, *names):
         def make_header(t):
-            return Header(t.encode("utf-8"), "utf-8").encode()
+            return Header(t).encode()
 
         headers = {
             "to": "DTG User <>",