1
0

Merge pull request #5898 from leo-lb/plausible-deniability-config

Add command line option to forget config on exit.
This commit is contained in:
ThomasV
2020-03-03 11:50:04 +01:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -225,6 +225,8 @@ class SimpleConfig(Logger):
return key not in self.cmdline_options
def save_user_config(self):
if self.get('forget_config'):
return
if not self.path:
return
path = os.path.join(self.path, "config")