Do not verify the backlist if it is empty
This commit is contained in:
@@ -157,6 +157,7 @@ class PairListManager(LoggingMixin):
|
|||||||
:param logmethod: Function that'll be called, `logger.info` or `logger.warning`.
|
:param logmethod: Function that'll be called, `logger.info` or `logger.warning`.
|
||||||
:return: pairlist - blacklisted pairs
|
:return: pairlist - blacklisted pairs
|
||||||
"""
|
"""
|
||||||
|
if self._blacklist:
|
||||||
try:
|
try:
|
||||||
blacklist = self.expanded_blacklist
|
blacklist = self.expanded_blacklist
|
||||||
except ValueError as err:
|
except ValueError as err:
|
||||||
|
|||||||
Reference in New Issue
Block a user