Skip to content

Commit 061a219

Browse files
committed
list_projects() returns None on failure
fixes #4178
1 parent 56c2642 commit 061a219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def refresh_projects(logger, uri):
219219
Ensure each immediate source root subdirectory is a project.
220220
"""
221221
webapp_projects = list_projects(logger, uri)
222-
if not webapp_projects:
222+
if webapp_projects is None:
223223
return
224224

225225
logger.debug('Projects from the web app: {}'.format(webapp_projects))

0 commit comments

Comments
 (0)