Commit a98d66d1 authored by Łukasz Nowak's avatar Łukasz Nowak

When no message given drop to '' instead of None.

parent df7731ab
......@@ -31,7 +31,7 @@ import ConfigParser
def main(*args):
parser = argparse.ArgumentParser()
parser.add_argument("-m", "--message", help="Message for bang.")
parser.add_argument("-m", "--message", default='', help="Message for bang.")
parser.add_argument("configuration_file", nargs=1, type=argparse.FileType(),
help="SlapOS configuration file.")
if len(args) == 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment