Skip to content

Commit

Permalink
nfc: fix flake8 line length
Browse files Browse the repository at this point in the history
  • Loading branch information
phycodurus committed Feb 8, 2022
1 parent 5a3b875 commit d1e782c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tom_nonlocalizedevents/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ class NonlocalizedEventDetailView(DetailView):

# TODO: consider combining these dictionaries
template_mapping = {
Superevent.SupereventType.GRAVITATIONAL_WAVE: 'tom_nonlocalizedevents/superevent_detail/gravitational_wave.html',
Superevent.SupereventType.GAMMA_RAY_BURST: 'tom_nonlocalizedevents/superevent_detail/gamma_ray_burst.html',
Superevent.SupereventType.NEUTRINO: 'tom_nonlocalizedevents/superevent_detail/neutrino.html',
Superevent.SupereventType.GRAVITATIONAL_WAVE:
'tom_nonlocalizedevents/superevent_detail/gravitational_wave.html',
Superevent.SupereventType.GAMMA_RAY_BURST:
'tom_nonlocalizedevents/superevent_detail/gamma_ray_burst.html',
Superevent.SupereventType.NEUTRINO:
'tom_nonlocalizedevents/superevent_detail/neutrino.html',
}

# A client in this context is the interface to the service providing event info.
Expand Down

0 comments on commit d1e782c

Please sign in to comment.