diff --git a/flask2postman.py b/flask2postman.py
index <HASH>..<HASH> 100644
--- a/flask2postman.py
+++ b/flask2postman.py
@@ -252,7 +252,7 @@ def main():
             folder = None
             if args.folders:
                 try:
-                    blueprint_name, _ = rule.endpoint.split('.', 1)
+                    blueprint_name, _ = rule.endpoint.rsplit('.', 1)
                 except ValueError:
                     pass
                 else:
Support blueprints with a dot in their name