mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
0a67d5eb85
commit
e412e3e3ec
@ -9,6 +9,7 @@ Keep track of donations to calibre.
|
|||||||
import sys, cStringIO, textwrap, traceback, re, os, time
|
import sys, cStringIO, textwrap, traceback, re, os, time
|
||||||
from datetime import date, timedelta
|
from datetime import date, timedelta
|
||||||
from math import sqrt
|
from math import sqrt
|
||||||
|
os.environ['HOME'] = '/tmp'
|
||||||
import matplotlib
|
import matplotlib
|
||||||
matplotlib.use('Agg')
|
matplotlib.use('Agg')
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
@ -430,7 +431,7 @@ class Server(object):
|
|||||||
<hr />
|
<hr />
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<h3>Income trends for the last year</h3>
|
<h3>Income trends for the last year</h3>
|
||||||
<img src="/trend.png" alt="Income trends" />
|
<img src="%(root)strend.png" alt="Income trends" />
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user