forgot truncate
This commit is contained in:
parent
8084b3f9c4
commit
f5b47dbdd5
|
@ -373,7 +373,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
|
||||||
config["profile"]["exit_type"] = None
|
config["profile"]["exit_type"] = None
|
||||||
fs.seek(0, 0)
|
fs.seek(0, 0)
|
||||||
json.dump(config, fs)
|
json.dump(config, fs)
|
||||||
# fs.truncate() # the file might be shorter
|
fs.truncate() # the file might be shorter
|
||||||
logger.debug("fixed exit_type flag")
|
logger.debug("fixed exit_type flag")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.debug("did not find a bad exit_type flag ")
|
logger.debug("did not find a bad exit_type flag ")
|
||||||
|
|
Loading…
Reference in New Issue