Fixed bug in readable uri timerange keys

This commit is contained in:
Krateng 2020-09-04 18:24:55 +02:00
parent 7c8b0dd7cb
commit e8a87cb8a5
No known key found for this signature in database
GPG Key ID: 46735607861C6FCE
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,9,3
version = 2,9,4
versionstr = ".".join(str(n) for n in version)
links = {
"pypi":"malojaserver",

View File

@ -468,7 +468,7 @@ def time_fix(t):
except:
pass
if isinstance(t[1],str) and t[1].startswith("W"):
if isinstance(t[1],str) and t[1].startswith("w"):
try:
year = int(t[0])
weeknum = int(t[1][1:])

View File

@ -60,7 +60,7 @@
<br/><br/>
If you use another browser or another music player, you could try to code your own extension. The API is super simple! Just send a POST HTTP request to
<span class="stats"><span name="serverurl">yourserver.tld</span>/api/newscrobble</span>
<span class="stats"><span name="serverurl">yourserver.tld</span>/apis/mlj_1/newscrobble</span>
(make sure to use the public URL) with the key-value-pairs
<br/>