Skip to content

Commit 1bb1bc9

Browse files
authored
fix(debug): Fixing debug flag (#135)
1 parent 9d58f8f commit 1bb1bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devservices/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def main() -> None:
8181
args = parser.parse_args()
8282

8383
# If the command has a debug flag, set the logger to debug
84-
if args.debug:
84+
if "debug" in args and args.debug:
8585
logger = logging.getLogger(LOGGER_NAME)
8686
logger.setLevel(logging.DEBUG)
8787

0 commit comments

Comments
 (0)