include client type in cv

This commit is contained in:
Damien Elmes 2013-10-02 04:09:16 +09:00
parent ec3850aab2
commit 33403fd890

View File

@ -574,7 +574,7 @@ class RemoteServer(HttpSyncer):
def meta(self):
ret = self.req(
"meta", StringIO(json.dumps(dict(v=SYNC_VER, cv=anki.version))),
"meta", StringIO(json.dumps(dict(v=SYNC_VER, cv="ankidesktop,"+anki.version))),
badAuthRaises=False)
if not ret:
# invalid auth