Skip to content

Commit

Permalink
Merge branch '2.3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Aug 16, 2023
2 parents 80ae10f + 6d266f6 commit 3237fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flask/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def load_app(self) -> Flask:
else:
if self.app_import_path:
path, name = (
re.split(r":(?![\\/])", self.app_import_path, 1) + [None]
re.split(r":(?![\\/])", self.app_import_path, maxsplit=1) + [None]
)[:2]
import_name = prepare_import(path)
app = locate_app(import_name, name)
Expand Down

0 comments on commit 3237fff

Please sign in to comment.