Fixed student import
This commit is contained in:
parent
843526bf27
commit
26630687db
6 changed files with 79 additions and 56 deletions
|
|
@ -12,3 +12,11 @@ def school_year(date, as_tuple=False):
|
|||
return (start_year, start_year + 1)
|
||||
else:
|
||||
return "%d — %d" % (start_year, start_year + 1)
|
||||
|
||||
|
||||
def is_int(s):
|
||||
try:
|
||||
int(s)
|
||||
return True
|
||||
except ValueError:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue