Skip to content

Commit

Permalink
Update paths.py
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin committed Feb 23, 2024
1 parent fec0319 commit aa2330a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions django_ltree/paths.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import string
from itertools import product

# from django_ltree.fields import PathValue
from django_ltree.fields import PathValue
import math


Expand Down Expand Up @@ -56,6 +56,3 @@ def guess_the_label_size(path_size: int, combination_size: int) -> int:
label_size += 1

return label_size


print(PathGenerator.guess_the_label_size(62, 62))

0 comments on commit aa2330a

Please sign in to comment.