added support for repeat week & exam period
This commit is contained in:
parent
532bcd527f
commit
a8ada1621e
@ -12,6 +12,8 @@ def main(wf):
|
|||||||
num = str(get_week.get_week())
|
num = str(get_week.get_week())
|
||||||
title = u'Épp {}.'.format(num)
|
title = u'Épp {}.'.format(num)
|
||||||
subtt = u'hét van!'
|
subtt = u'hét van!'
|
||||||
|
if num == 14: title = u'Póthét ({}. hét)'.format(num); subtt = u'van!'
|
||||||
|
if num > 14: title = u'Vizsgaidőszak ({}. hét)'.format(num); subtt = u'van!'
|
||||||
except ConnectionError:
|
except ConnectionError:
|
||||||
title = u'Nincs internet!'
|
title = u'Nincs internet!'
|
||||||
except (IndexError, RuntimeError):
|
except (IndexError, RuntimeError):
|
||||||
|
Loading…
Reference in New Issue
Block a user