Skip to content

Commit 6e46f77

Browse files
committed
Fixed correct section
1 parent 932f02d commit 6e46f77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arcsecond/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def login(state, username, password, organisation=None):
5656
@pass_state
5757
def me(state):
5858
"""Fetch your complete user profile."""
59-
username = config_file_read_username(state.debug)
59+
username = config_file_read_username(state.config_section())
6060
if not username:
6161
msg = 'Invalid/missing username: {}. Make sure to login first: $ arcsecond login'.format(username)
6262
raise ArcsecondError(msg)

0 commit comments

Comments
 (0)