- Timestamp:
- 6 May 2024, 07:53:03 (8 months ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/students
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r17542 r17750 18 18 import grok 19 19 import os 20 import csv 20 21 from datetime import datetime 21 22 from zope.i18n import translate … … 78 79 ITiship, 79 80 ICustomCourseTicket) 80 from waeup.uniben.students.deplinks import DEPLINKS81 81 from waeup.uniben.interfaces import MessageFactory as _ 82 83 deplinks_path = os.path.join( 84 os.path.dirname(__file__), 'deplinks.csv') 85 reader = csv.DictReader(open(deplinks_path, 'rb')) 86 DEPLINKS = {line['code']:line['url'] for line in reader} 82 87 83 88 class CustomStudentBaseDisplayFormPage(NigeriaStudentBaseDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.