X-Git-Url: http://gitweb.michael.orlitzky.com/?p=untangle-https-backup.git;a=blobdiff_plain;f=src%2Funtangle%2Funtangle.py;fp=src%2Funtangle%2Funtangle.py;h=c66cd67b45dbbe56c67d3ed8d1654d2e7cb7f5fd;hp=31ab60e4d7a9f4291edfca8ec8f987c160fb9273;hb=b5f616878bac3673de90e9c47bf8dedbae790dfd;hpb=5632759549c9bf6a7eacb96734507a7fa576e069 diff --git a/src/untangle/untangle.py b/src/untangle/untangle.py index 31ab60e..c66cd67 100644 --- a/src/untangle/untangle.py +++ b/src/untangle/untangle.py @@ -107,7 +107,7 @@ class Untangle: Returns the binary HTTPS response (i.e. the file). """ - url = self.base_url + '/webui/download?type=backup' + url = self.base_url + '/webui/download' post_vars = {'type': 'backup'} post_data = urllib.parse.urlencode(post_vars).encode('ascii') with self.opener.open(url, post_data) as response: