Browse Source

Do not send a proper XML header on init token response

The vTuner API doesn't do it and some AVRs have problems with it.
Thanks to @AlfredJ91 for the heads-up.
milaq 5 years ago
parent
commit
63b87dfa95
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ycast/vtuner.py

+ 1 - 1
ycast/vtuner.py

@@ -4,7 +4,7 @@ XML_HEADER = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'
 
 
 def get_init_token():
-    return XML_HEADER + '<EncryptedToken>0000000000000000</EncryptedToken>'
+    return '<EncryptedToken>0000000000000000</EncryptedToken>'
 
 
 def strip_https(url):