diff --git a/Windows/lazagne/softwares/browsers/chromium_based.py b/Windows/lazagne/softwares/browsers/chromium_based.py index 4022ffd8..9ae99009 100755 --- a/Windows/lazagne/softwares/browsers/chromium_based.py +++ b/Windows/lazagne/softwares/browsers/chromium_based.py @@ -41,7 +41,7 @@ def _get_database_dirs(self): if os.path.isdir(dirs_path) and dirs.startswith('Profile'): profiles.add(dirs) - with open(profiles_path) as f: + with open(profiles_path, "r", encoding="utf-8") as f: try: data = json.load(f) # Add profiles from json to Default profile. set removes duplicates @@ -49,7 +49,7 @@ def _get_database_dirs(self): except Exception: pass - with open(profiles_path) as f: + with open(profiles_path, "r", encoding="utf-8") as f: try: master_key = base64.b64decode(json.load(f)["os_crypt"]["encrypted_key"]) master_key = master_key[5:] # removing DPAPI