]> gitweb.michael.orlitzky.com - untangle-https-backup.git/blobdiff - bin/untangle-https-backup
src/untangle/untangle.py: use cleaner way of disabling verification.
[untangle-https-backup.git] / bin / untangle-https-backup
index 25fbf9d2364a7b94242a3f9b540b8589f658c3f6..3abb05f257741b96fd349c650b09c8c5db23932f 100755 (executable)
@@ -31,8 +31,10 @@ args = parser.parse_args()
 # Default to success, change it if anything fails.
 status = EXIT_OK
 
-# Parse the configuration file...
-config = configparser.ConfigParser()
+# Parse the configuration file. In this contect "interpolation" is
+# something completely berserk, and it breaks passwords containing '%'
+# characters. So, we turn it off.
+config = configparser.ConfigParser(interpolation=None)
 config.read(args.config_file)
 
 # And loop through each section.