Skip to content

Commit

Permalink
Merge pull request #627 from cc-a/cc-a-patch-1
Browse files Browse the repository at this point in the history
Ensure `default_queue_name` returns a str
  • Loading branch information
coleifer committed Oct 14, 2021
2 parents 279ca4a + 1e7d2bd commit 12c650e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huey/contrib/djhuey/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def default_queue_name():
return settings.DATABASE_NAME
except AttributeError:
try:
return settings.DATABASES['default']['NAME']
return str(settings.DATABASES['default']['NAME'])
except KeyError:
return 'huey'

Expand Down

0 comments on commit 12c650e

Please sign in to comment.