mirror of https://github.com/evilhero/mylar
Merge 9044b49efc
into 617afe08bb
This commit is contained in:
commit
f9cbe76161
|
@ -72,6 +72,7 @@
|
||||||
<legend>Bragging Rights</legend>
|
<legend>Bragging Rights</legend>
|
||||||
<div>
|
<div>
|
||||||
<label><strong># of Series you're watching: </strong> ${comicinfo['COUNT_COMICS']}</br></label>
|
<label><strong># of Series you're watching: </strong> ${comicinfo['COUNT_COMICS']}</br></label>
|
||||||
|
<label><strong># of Series you're watching that are continuing: </strong> ${comicinfo['CCONTCOUNT']}</br></label>
|
||||||
<label><strong># of Issues you're watching: </strong> ${comicinfo['COUNT_ISSUES']}</br></label>
|
<label><strong># of Issues you're watching: </strong> ${comicinfo['COUNT_ISSUES']}</br></label>
|
||||||
<label><strong># of Issues you actually have: </strong> ${comicinfo['COUNT_HAVES']}</br></label>
|
<label><strong># of Issues you actually have: </strong> ${comicinfo['COUNT_HAVES']}</br></label>
|
||||||
<label><strong> ... total HD-space being used: </strong> ${comicinfo['COUNT_SIZE']}</br></label>
|
<label><strong> ... total HD-space being used: </strong> ${comicinfo['COUNT_SIZE']}</br></label>
|
||||||
|
|
|
@ -4461,10 +4461,16 @@ class WebInterface(object):
|
||||||
COUNT_HAVES = CHAVES[0][0]
|
COUNT_HAVES = CHAVES[0][0]
|
||||||
COUNT_ISSUES = CISSUES[0][0]
|
COUNT_ISSUES = CISSUES[0][0]
|
||||||
COUNT_SIZE = helpers.human_size(CSIZE[0][0])
|
COUNT_SIZE = helpers.human_size(CSIZE[0][0])
|
||||||
|
CCONTCOUNT = 0
|
||||||
|
cti = helpers.havetotals()
|
||||||
|
for cchk in cti:
|
||||||
|
if cchk['recentstatus'] is 'Continuing':
|
||||||
|
CCONTCOUNT += 1
|
||||||
comicinfo = {"COUNT_COMICS": COUNT_COMICS,
|
comicinfo = {"COUNT_COMICS": COUNT_COMICS,
|
||||||
"COUNT_HAVES": COUNT_HAVES,
|
"COUNT_HAVES": COUNT_HAVES,
|
||||||
"COUNT_ISSUES": COUNT_ISSUES,
|
"COUNT_ISSUES": COUNT_ISSUES,
|
||||||
"COUNT_SIZE": COUNT_SIZE}
|
"COUNT_SIZE": COUNT_SIZE,
|
||||||
|
"CCONTCOUNT": CCONTCOUNT}
|
||||||
DLPROVSTATS = myDB.select("SELECT Provider, COUNT(Provider) AS Frequency FROM Snatched WHERE Status = 'Snatched' AND Provider is NOT NULL GROUP BY Provider ORDER BY Frequency DESC")
|
DLPROVSTATS = myDB.select("SELECT Provider, COUNT(Provider) AS Frequency FROM Snatched WHERE Status = 'Snatched' AND Provider is NOT NULL GROUP BY Provider ORDER BY Frequency DESC")
|
||||||
freq = dict()
|
freq = dict()
|
||||||
freq_tot = 0
|
freq_tot = 0
|
||||||
|
|
Loading…
Reference in New Issue