Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 41e87fd

Browse files
committed
Minor fix for blueprints + flask run.
1 parent b586375 commit 41e87fd

File tree

1 file changed

+2
-0
lines changed
  • app/ch06_routing/final/pypi_org

1 file changed

+2
-0
lines changed

app/ch06_routing/final/pypi_org/app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ def register_blueprints():
2525

2626
if __name__ == '__main__':
2727
main()
28+
else:
29+
register_blueprints()

0 commit comments

Comments
 (0)