Skip to content

Commit cc13412

Browse files
committed
Python 3.8-compatible device-flow argument.
1 parent 75c3e15 commit cc13412

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/sasl-xoauth2-tool.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ sp_get_token.add_argument(
270270
)
271271
sp_get_token.add_argument(
272272
"--use-device-flow",
273-
action=argparse.BooleanOptionalAction,
273+
default=False,
274+
action='store_true',
274275
help="use simplified device flow for Outlook/Azure",
275276
)
276277
sp_get_token.add_argument(

0 commit comments

Comments
 (0)