mirror of
https://github.com/django/daphne.git
synced 2025-07-14 18:02:17 +03:00
Use double quotes.
This commit is contained in:
parent
14f61884e9
commit
df2d7bed94
|
@ -162,7 +162,7 @@ class DaphneProcess(multiprocessing.Process):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if isinstance(self.application, str):
|
if isinstance(self.application, str):
|
||||||
mod_name, _, app_name = self.application.rpartition(':')
|
mod_name, _, app_name = self.application.rpartition(":")
|
||||||
module = importlib.import_module(mod_name)
|
module = importlib.import_module(mod_name)
|
||||||
application = getattr(module, app_name)
|
application = getattr(module, app_name)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user