From 7cb03fc76995ccb86dff4b02b2f1256564d7c528 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 12 Feb 2019 15:51:19 +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 dbe6bbd6..894275de 100644 --- a/bin/torcrawler/TorSplashCrawler.py +++ b/bin/torcrawler/TorSplashCrawler.py @@ -129,7 +129,7 @@ class TorSplashCrawler(): #avoid filename too big if self.domains[0] > 225: UUID = self.domains[0][-215:]+str(uuid.uuid4()) - else + else: UUID = self.domains[0]+str(uuid.uuid4()) filename_paste = os.path.join(self.crawled_paste_filemame, UUID) relative_filename_paste = os.path.join(self.crawler_path, UUID)