diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-16 13:36:14 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-16 13:36:14 +0200 |
commit | 108a2301f69763896e1a1f9eefefa30f91a4c945 (patch) | |
tree | 9dfd48614838211b13ca00d4bd1bea3ff80ae98c /src | |
parent | bfe509532de18ab310afd3b85c379e985e1b49cd (diff) | |
download | 0tdns-108a2301f69763896e1a1f9eefefa30f91a4c945.tar.gz 0tdns-108a2301f69763896e1a1f9eefefa30f91a4c945.zip |
don't print config file contents on syncing
Diffstat (limited to 'src')
-rwxr-xr-x | src/hourly.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hourly.py b/src/hourly.py index 0d371ab..0401bc1 100755 --- a/src/hourly.py +++ b/src/hourly.py @@ -22,8 +22,6 @@ def sync_ovpn_config(cursor, vpn_id, config_path, config_hash): (config_contents,) = cursor.fetchone() - print(config_contents.tobytes()) - with open(config_path, "wb") as config_file: config_file.write(config_contents.tobytes()) |