mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Fix py3 compat!
This commit is contained in:
@@ -33,7 +33,7 @@ class ManageDKIMKeys(BaseCommand):
|
||||
if code:
|
||||
print("Failed to generate DKIM public key for domain {}: {}"
|
||||
.format(domain.name, output))
|
||||
public_key = ""
|
||||
public_key = b""
|
||||
for cpt, line in enumerate(output.splitlines()):
|
||||
if cpt == 0 or line.startswith(b"-----"):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user