Skip to content

Commit 18fa73e

Browse files
committed
python -m buildconfig now works again...
1 parent 423fdb7 commit 18fa73e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

buildconfig/config.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,9 @@ def main(auto=False):
167167

168168
kwds = {}
169169

170-
if sys.argv[1] == "docs":
171-
sys.exit(docs_run())
170+
if len(sys.argv) > 1:
171+
if sys.argv[1] == "docs":
172+
sys.exit(docs_run())
172173

173174
if sys.platform == 'win32':
174175
if sys.version_info >= (3, 8) and is_msys2():

0 commit comments

Comments
 (0)