correct syntax error V00.01
authorymh <ymh.work@gmail.com>
Sat, 25 Oct 2014 00:42:30 +0200
changeset 64 2f5d0e9fe7b5
parent 63 289049253263
child 65 175826fb5b42
correct syntax error
annot-server/webapp/admin.py
--- a/annot-server/webapp/admin.py	Sat Oct 25 00:22:48 2014 +0200
+++ b/annot-server/webapp/admin.py	Sat Oct 25 00:42:30 2014 +0200
@@ -48,9 +48,9 @@
         output.append({"name": c["code"] if "code" in c else "","keywords": [ c["label"] ], "color" : c["color"] })
 
     base_url = getattr(config,'LDT_PLATFORM_BASE_URL','') + "/ldt/embediframe/?"
-    url_query_params = {'project_id': model.project_id, 
-                        'polemic': 'all', 
-                        'polemic__max_elements': 200, 
+    url_query_params = {'project_id': model.project_id,
+                        'polemic': 'all',
+                        'polemic__max_elements': 200,
                         'createannotation': True,
                         'createannotation_polemics': False,
                         'tag_titles': "",
@@ -87,7 +87,7 @@
     column_list = ('code', 'label', 'start_date', 'active')
     column_filters = ('code', 'label', 'start_date', 'active')
     form_create_rules = ('code', 'label', 'description', 'start_date')
-    inline_models = [(models.EventSession, {'form_overrides': { "start_ts": StartTSField, },}})]
+    inline_models = [(models.EventSession, {'form_overrides': { "start_ts": StartTSField, },})]
 
     def __init__(self, session, **kwargs):
         super(EventView, self).__init__(models.Event, session, **kwargs)