Skip to content

Commit bbc128c

Browse files
authored
fix write-to (#34)
1 parent 683633f commit bbc128c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/code42cli/cmds/securitydata/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def send_to(sdk, profile, args):
7474

7575
def _load_write_to_args(arg_collection):
7676
output_file = ArgConfig(u"output_file", help=u"The name of the local file to send output to.")
77-
arg_collection.add(u"output_file", output_file)
77+
arg_collection.append(u"output_file", output_file)
7878
_load_search_args(arg_collection)
7979

8080

src/code42cli/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class NoConfigProfileError(Exception):
1212
def __init__(self):
13-
super(Exception, self).__init__(u"Profile does not exist.")
13+
super(NoConfigProfileError, self).__init__(u"Profile does not exist.")
1414

1515

1616
class ConfigAccessor(object):

0 commit comments

Comments
 (0)