Skip to content

Commit 6b0ea36

Browse files
committed
HG: Fixed bugs in malboxes.py.
1 parent 17aec6f commit 6b0ea36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

malboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def initialize():
104104
'Name of the profile to modify.')
105105
parser_document.add_argument('docpath', help=
106106
'Path of the file to add with the filename. Ex: C:\Document.txt')
107-
parser_directory.set_defaults(func=document)
107+
parser_document.set_defaults(func=document)
108108

109109
# no command
110110
parser.set_defaults(func=default)
@@ -364,7 +364,7 @@ def package(parser, args):
364364
f.close()
365365

366366
def document(parser, args):
367-
""" Adds the file manipulation commands to the profile."""
367+
""" Adds the file manipulation commands to the profile."""
368368
if args.modtype == "add":
369369
command = "New-Item"
370370
line = "{0} -Path {1}\r\n".format(command, args.dirpath)

0 commit comments

Comments
 (0)