mirror of
https://github.com/django/daphne.git
synced 2025-04-20 00:32:09 +03:00
Use double quotes.
This commit is contained in:
parent
14f61884e9
commit
df2d7bed94
|
@ -162,7 +162,7 @@ class DaphneProcess(multiprocessing.Process):
|
|||
|
||||
try:
|
||||
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)
|
||||
application = getattr(module, app_name)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user