Skip to content

Commit f2aefad

Browse files
committed
Fix if path is blank
1 parent dc3fb28 commit f2aefad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyms/flask/app/swagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self):
1313
@property
1414
def path(self):
1515
path = self.config.path
16-
return path if path else SWAGGER_PATH
16+
return path if path is not None else SWAGGER_PATH
1717

1818
@property
1919
def file(self):

0 commit comments

Comments
 (0)