Skip to content

Commit

Permalink
Fix wrong import.
Browse files Browse the repository at this point in the history
fix #30
  • Loading branch information
tonioo committed Oct 21, 2015
1 parent a4b9395 commit ab5ff3a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modoboa_webmail/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from modoboa.lib.email_utils import set_email_headers

from .lib import (
ImapEmail, create_mail_attachment
ImapEmail, create_mail_attachment, decode_payload
)
from .validators import validate_email_list

Expand Down Expand Up @@ -186,8 +186,6 @@ def _build_msg(self, request):
We also add original attachments (if any) to the new message.
"""
from modoboa.extensions.webmail.lib import decode_payload

mbox = request.GET.get("mbox", None)
mailid = request.GET.get("mailid", None)
msg = super(ForwardMailForm, self)._build_msg(request)
Expand Down

0 comments on commit ab5ff3a

Please sign in to comment.