Skip to content

Commit

Permalink
HG: Fixed bugs in malboxes.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Svieg committed May 17, 2016
1 parent 17aec6f commit 6b0ea36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions malboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def initialize():
'Name of the profile to modify.')
parser_document.add_argument('docpath', help=
'Path of the file to add with the filename. Ex: C:\Document.txt')
parser_directory.set_defaults(func=document)
parser_document.set_defaults(func=document)

# no command
parser.set_defaults(func=default)
Expand Down Expand Up @@ -364,7 +364,7 @@ def package(parser, args):
f.close()

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

0 comments on commit 6b0ea36

Please sign in to comment.