diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2022-05-18 12:56:52 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2022-05-18 12:56:52 +0200 |
commit | 9bccb42bba3e59edc3c66dfcd2ce80557e977ba1 (patch) | |
tree | 3e2c1b8a9e6bce1e2cc03e4d7a3936850abc1b38 /bin | |
parent | 971f633eaadec381bda398f024bab42fa1311bd0 (diff) | |
download | mensa-9bccb42bba3e59edc3c66dfcd2ce80557e977ba1.tar.gz mensa-9bccb42bba3e59edc3c66dfcd2ce80557e977ba1.tar.bz2 mensa-9bccb42bba3e59edc3c66dfcd2ce80557e977ba1.zip |
Fix stw nonsense, add option to ignore boring stuff
bump version to 0.6
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mensa | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ parser.add_argument('-G', '--vegan', dest='vegan', action='store_true', help='show only vegan meals') parser.add_argument('--studentenwerk-prices', dest='student', action='store_true', default=False, help='show only student prices') - +parser.add_argument('-b', '--no-boring', dest='no_boring', action="store_true", default=False, help="Do not show meals that are available every day.") parser.add_argument('--no-parallel', dest="no_parallel", action="store_true", default=False, help="Do not parallelize fetching, might help with rate-limited websites") @@ -76,5 +76,5 @@ restlist = None if args.rest : restlist = args.rest -foodl = logic.get_food(restlist, no_parallel=args.no_parallel, pos=args.pos, rad=args.rad, only_student_prices=args.student) +foodl = logic.get_food(restlist, no_parallel=args.no_parallel, pos=args.pos, rad=args.rad, only_student_prices=args.student, args=args) logic.render(foodl, form, only_veggie=veggie, only_student_prices=args.student, pos=args.pos, dist=args.dist, template=args.template) |