We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a72b74 commit 17e146aCopy full SHA for 17e146a
src/flask/cli.py
@@ -302,7 +302,7 @@ def load_app(self) -> Flask:
302
else:
303
if self.app_import_path:
304
path, name = (
305
- re.split(r":(?![\\/])", self.app_import_path, 1) + [None]
+ re.split(r":(?![\\/])", self.app_import_path, maxsplit=1) + [None]
306
)[:2]
307
import_name = prepare_import(path)
308
app = locate_app(import_name, name)
0 commit comments