Skip to content

Commit

Permalink
fix: typo in URL Haus module, makes mypy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Feb 17, 2025
1 parent 1eba341 commit b6ea3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lookyloo/modules/urlhaus.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def module_init(self) -> bool:

self.session = requests.Session()
self.session.headers.update({'User-Agent': get_useragent_for_requests()})
self.session.params.update({'Auth-Key': self.config.get('apikey')})
self.session.headers.update({'Auth-Key': self.config['apikey']})
self.storage_dir_uh = get_homedir() / 'urlhaus'
self.storage_dir_uh.mkdir(parents=True, exist_ok=True)
return True
Expand Down

0 comments on commit b6ea3f4

Please sign in to comment.