File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- __version__ = "0.2.0 "
1
+ __version__ = "0.2.1 "
2
2
__description__ = (
3
3
"Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication"
4
4
)
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ async def _run(args):
63
63
64
64
if cfg .default_profile and not args .use_profile_selector :
65
65
selected_profile = cfg .default_profile
66
- elif args .use_profile_selector :
66
+ elif args .use_profile_selector or args . profile_path :
67
67
profiles = get_profiles (Path (args .profile_path ))
68
68
if not profiles :
69
69
logger .error ("No profile found" )
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ def main():
102
102
)
103
103
104
104
if not args .profile_path and not args .server and not config .load ().default_profile :
105
- if os .path .exists ("/opt/cisco/anyconnect/profiles " ):
106
- args .profile_path = "/opt/cisco/anyconnect/profiles "
105
+ if os .path .exists ("/opt/cisco/anyconnect/profile " ):
106
+ args .profile_path = "/opt/cisco/anyconnect/profile "
107
107
else :
108
108
parser .error (
109
109
"No Anyconnect profile can be found. One of --profile or --server arguments required."
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " openconnect-sso"
3
- version = " 0.2.0 "
3
+ version = " 0.2.1 "
4
4
description = " Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication"
5
5
authors = [
" László Vaskó <[email protected] >" ]
6
6
readme = " README.md"
Original file line number Diff line number Diff line change 2
2
3
3
4
4
def test_version ():
5
- assert __version__ == '0.2.0 '
5
+ assert __version__ == '0.2.1 '
You can’t perform that action at this time.
0 commit comments