Skip to content

Commit

Permalink
fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Dec 12, 2024
1 parent 8fda99f commit d901105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tom_targets/templatetags/targets_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from plotly import graph_objs as go

from tom_observations.utils import get_sidereal_visibility
from tom_targets.models import Target, TargetExtra, TargetList, PersistentShare
from tom_targets.models import Target, TargetExtra, TargetList
from tom_targets.forms import TargetVisibilityForm, PersistentShareForm

register = template.Library()
Expand Down
2 changes: 1 addition & 1 deletion tom_targets/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class PSModelPermission(permissions.DjangoModelPermissions):
perms_map = {
'GET':[f'{Target._meta.app_label}.view_persistentshare'],
'GET': [f'{Target._meta.app_label}.view_persistentshare'],
'OPTIONS': [],
'HEAD': [],
'POST': [f'{Target._meta.app_label}.add_persistentshare'],
Expand Down

0 comments on commit d901105

Please sign in to comment.