Browse Source

year parsing

master
Sanj 12 years ago
parent
commit
c4f78a0b54
  1. 2
      ifa/films/imports.py

2
ifa/films/imports.py

@ -34,7 +34,7 @@ def import_csv(path=csv_path):
for line in lines:
try:
year = int(line[1].replace('"', '')[0:4])
year = int(line[1].replace('"', '').strip()[0:4])
year_error = False
except:
year = None

Loading…
Cancel
Save