fix: [Crawler] typo

pull/333/head
Terrtia 2019-02-12 15:53:40 +01:00
parent 7cb03fc769
commit 37276e52a3
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

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