mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
more useful version info
This commit is contained in:
parent
41868f1c95
commit
6d53fdc327
1 changed files with 2 additions and 3 deletions
|
@ -6,8 +6,7 @@ from PyQt4.QtGui import *
|
|||
import urllib, urllib2, os, sys, time, httplib
|
||||
import anki, anki.utils, anki.lang, anki.stats
|
||||
import ankiqt
|
||||
import simplejson
|
||||
import tempfile
|
||||
import simplejson, platform
|
||||
|
||||
baseUrl = "http://anki.ichi2.net/update/"
|
||||
#baseUrl = "http://localhost:8001/update/"
|
||||
|
@ -22,7 +21,7 @@ class LatestVersionFinder(QThread):
|
|||
self.config = main.config
|
||||
# calculate stats before we start a new thread
|
||||
plat=sys.platform
|
||||
pver=sys.version.replace("\n", "--")
|
||||
pver=platform.platform()
|
||||
if self.main.deck != None:
|
||||
deckSize = self.main.deck.cardCount
|
||||
stats = self.main.deck.getStats()
|
||||
|
|
Loading…
Reference in a new issue