From 70457ff70a7eaf19b10f5717d534098c91b0ebb1 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 10 Sep 2019 16:42:11 +0200 Subject: [PATCH] Small fixes. --- grmn/updateserver.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/grmn/updateserver.py b/grmn/updateserver.py index 0134a69..cb4d54e 100644 --- a/grmn/updateserver.py +++ b/grmn/updateserver.py @@ -64,6 +64,7 @@ class UpdateServer: def get_requests_xml(self, sku_numbers): dom = getDOMImplementation() doc = dom.createDocument(None, "Requests", None) + doc.standalone = False root = doc.documentElement @@ -75,7 +76,6 @@ class UpdateServer: self.dom_add_text(doc, req, "TransferType", "USB") reg = doc.createElement("Region") - self.dom_add_text(doc, reg, "RegionId", "14") ver = doc.createElement("Version") diff --git a/requirements.txt b/requirements.txt index b0c79cc..fb77cca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ protobuf +requests