From 37276e52a3fe9b75fb83c07ca556a13ccccd9d50 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 12 Feb 2019 15:53:40 +0100 Subject: [PATCH] fix: [Crawler] typo --- bin/torcrawler/TorSplashCrawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/torcrawler/TorSplashCrawler.py b/bin/torcrawler/TorSplashCrawler.py index 894275de..24b7138e 100644 --- a/bin/torcrawler/TorSplashCrawler.py +++ b/bin/torcrawler/TorSplashCrawler.py @@ -127,7 +127,7 @@ class TorSplashCrawler(): else: #avoid filename too big - if self.domains[0] > 225: + if len(self.domains[0]) > 225: UUID = self.domains[0][-215:]+str(uuid.uuid4()) else: UUID = self.domains[0]+str(uuid.uuid4())