Skip to content

Commit

Permalink
Remove extra line and correct apostrophes (via black)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Jun 4, 2024
1 parent 4483f8b commit 17a721d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion example_project/example/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = []
Expand Down
2 changes: 1 addition & 1 deletion src/django_segments/helpers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, obj: Union[BaseSpan, BaseSegment]):
self.obj = obj

# Get the field_type, which tells us the type of range field used in the model
segment_range = getattr(self.obj, 'segment_range', None)
segment_range = getattr(self.obj, "segment_range", None)
if segment_range:
self.field_type = segment_range.get_internal_type()

Expand Down

0 comments on commit 17a721d

Please sign in to comment.