From 9f5830a77fa781a5423ab02109d71f941b0a877f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Fri, 1 Sep 2017 14:42:01 +0200 Subject: [PATCH] =?UTF-8?q?added=20p=C3=B3th=C3=A9t=20detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alfred_do_get_week.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alfred_do_get_week.py b/alfred_do_get_week.py index e1e229f..7927182 100755 --- a/alfred_do_get_week.py +++ b/alfred_do_get_week.py @@ -14,6 +14,9 @@ def main(wf): title = u'Épp {}.' subtt = u'hét van!' + if int(num) == 0: + title = u'Reghét ({}. hét)' + subtt = u'van!' if int(num) == 15: title = u'Póthét ({}. hét)' subtt = u'van!'