fix: [Crawler] typo

This commit is contained in:
Terrtia 2019-02-12 15:51:19 +01:00
parent 7a4989ce10
commit 7cb03fc769
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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)