def main()
This commit is contained in:
parent
bbedb65dcc
commit
247ffdbdc3
1 changed files with 4 additions and 2 deletions
|
@ -98,8 +98,7 @@ class BrewBlocklist():
|
|||
if self.outputfile:
|
||||
sys.stdout = orig_stdout
|
||||
out_file.close()
|
||||
|
||||
if __name__ == '__main__':
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('-c', '--config',
|
||||
dest='configfile',
|
||||
|
@ -134,3 +133,6 @@ if __name__ == '__main__':
|
|||
brew.collect_ingrediens()
|
||||
brew.clean_list()
|
||||
brew.serve_meal()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Reference in a new issue