Skip to content

Commit

Permalink
use utf-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZ3ro committed Dec 2, 2020
1 parent c3fdbfa commit 2f6f5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webtech/webtech.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def __init__(self, options=None):

self.db = None
if os.path.isfile(database.WAPPALYZER_DATABASE_FILE):
with open(database.WAPPALYZER_DATABASE_FILE) as f:
with open(database.WAPPALYZER_DATABASE_FILE, encoding='utf-8') as f:
self.db = json.load(f)
with open(database.DATABASE_FILE) as f:
with open(database.DATABASE_FILE, encoding='utf-8') as f:
self.db = database.merge_databases(self.db, json.load(f))

# Output text only
Expand Down

0 comments on commit 2f6f5e2

Please sign in to comment.