mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-07 06:28:52 +01:00
Clear error
Use.objects.get causes undefined variable when using get_user_model
This commit is contained in:
parent
1468982043
commit
46f8e9d21f
@ -355,7 +355,7 @@ def create_ticket_cc(ticket, cc_list):
|
||||
user = None
|
||||
|
||||
try:
|
||||
user = User.objects.get(email=cced_email)
|
||||
user = User.objects.get(email=cced_email) # @UndefinedVariable
|
||||
except User.DoesNotExist:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user