Ryan Breaker %!s(int64=8) %!d(string=hai) anos
pai
achega
e57b8aa26f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/utilities/forms.py

+ 1 - 1
netbox/utilities/forms.py

@@ -96,7 +96,7 @@ def parse_alphanumeric_range(string):
                 continue
                 continue
         except ValueError:
         except ValueError:
             begin, end = dash_range, dash_range
             begin, end = dash_range, dash_range
-        nums = list(range(ord(begin), ord(end)+1))
+        nums = list(range(ord(begin), ord(end) + 1))
         for n in nums:
         for n in nums:
             values.append(chr(n))
             values.append(chr(n))
     return values
     return values