Use double quotes.

This commit is contained in:
Bryce Durham 2021-03-22 10:39:43 -07:00
parent 14f61884e9
commit df2d7bed94

View File

@ -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: