mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor cosmetics
This commit is contained in:
parent
0c2474cc22
commit
1e1f560d0c
|
@ -14,7 +14,7 @@ class xrange(object):
|
|||
__slots__ = ['_slice']
|
||||
|
||||
def __init__(self, *args):
|
||||
if args and isinstance(args[0], xrange):
|
||||
if args and isinstance(args[0], type(self)):
|
||||
self._slice = slice(args[0].start, args[0].stop, args[0].step)
|
||||
else:
|
||||
self._slice = slice(*args)
|
||||
|
|
Loading…
Reference in New Issue
Block a user