mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-10 07:20:39 -04:00
better variable name
This commit is contained in:
parent
1b7b6b2c0e
commit
261fdf8a33
1 changed files with 4 additions and 4 deletions
|
@ -153,14 +153,14 @@ class Browser:
|
||||||
"exception writing cookie file at %s",
|
"exception writing cookie file at %s",
|
||||||
cookie_location, exc_info=True)
|
cookie_location, exc_info=True)
|
||||||
|
|
||||||
flags_location = os.path.join(data_dir, "Local State")
|
local_state_location = os.path.join(data_dir, 'Local State')
|
||||||
try:
|
try:
|
||||||
with open(flags_location, 'w+') as f:
|
with open(local_state_location, 'w+') as f:
|
||||||
json.dump(make_local_state, f)
|
json.dump(make_chromium_local_state(), f)
|
||||||
except OSError:
|
except OSError:
|
||||||
self.logger.error(
|
self.logger.error(
|
||||||
"exception writing local state file at %s",
|
"exception writing local state file at %s",
|
||||||
flags_location, exc_info=True)
|
local_state_location, exc_info=True)
|
||||||
|
|
||||||
self._chrome_instance = Chrome(
|
self._chrome_instance = Chrome(
|
||||||
port=self.chrome_port, executable=self.chrome_exe,
|
port=self.chrome_port, executable=self.chrome_exe,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue