mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
Fixed #9 BUG ugettext no longer automatically imported in trunk.
This commit is contained in:
parent
cea6394b70
commit
b824a53292
@ -9,17 +9,21 @@ scripts/get_email.py - Designed to be run from cron, this script checks the
|
||||
helpdesk, creating tickets from the new messages (or
|
||||
adding to existing tickets if needed)
|
||||
"""
|
||||
import poplib
|
||||
|
||||
import email
|
||||
import imaplib
|
||||
import mimetypes
|
||||
import poplib
|
||||
import re
|
||||
from datetime import datetime, timedelta
|
||||
import email, mimetypes, re
|
||||
from email.Utils import parseaddr
|
||||
from helpdesk.models import Queue, Ticket, FollowUp, Attachment
|
||||
from helpdesk.lib import send_templated_mail
|
||||
|
||||
from django.core.files.base import ContentFile
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from helpdesk.lib import send_templated_mail
|
||||
from helpdesk.models import Queue, Ticket, FollowUp, Attachment
|
||||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
|
Loading…
Reference in New Issue
Block a user