A previous revision contains these differences:
221c213 < if rev.isdigit(): --- > if str(rev).isdigit(): 236c228 < if rev_rev.isdigit(): --- > if str(rev_rev).isdigit(): 244c236 < if not segment.isdigit(): --- > if not str(segment).isdigit():
Those differences fixed this problem for me.
A previous revision contains these differences:
221c213 rev).isdigit( ): .isdigit( ):
< if rev.isdigit():
---
> if str(rev).isdigit():
236c228
< if rev_rev.isdigit():
---
> if str(rev_
244c236
< if not segment.isdigit():
---
> if not str(segment)
Those differences fixed this problem for me.