From 8be6120115116213e607af21ecedf81232b005e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Mon, 8 May 2017 12:57:09 +0200 Subject: [PATCH] fixed detection of "repeat week" and exam period (wrong weeks were used) --- alfred_do_get_week.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alfred_do_get_week.py b/alfred_do_get_week.py index b8000a0..e1e229f 100755 --- a/alfred_do_get_week.py +++ b/alfred_do_get_week.py @@ -14,10 +14,10 @@ def main(wf): title = u'Épp {}.' subtt = u'hét van!' - if int(num) == 14: + if int(num) == 15: title = u'Póthét ({}. hét)' subtt = u'van!' - if int(num) > 14: + if int(num) > 15: title = u'Vizsgaidőszak ({}. hét)' subtt = u'van!'