1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Various fixes

This commit is contained in:
Krateng 2020-02-28 16:23:59 +01:00
parent 83f73758c4
commit 55c68b21cd
6 changed files with 9 additions and 4 deletions

View File

View File

View File

@ -67,6 +67,7 @@ replacetitle 행복 (Happiness) Happiness
replacetitle 봐 Look Look
replacetitle RBB (Really Bad Boy) Really Bad Boy
replacetitle 7월 7일 One Of These Nights One Of These Nights
replacetitle Don't You Wait No More Don't U Wait No More
# EXID
countas Dasoni EXID

Can't render this file because it has a wrong number of fields in line 5.

View File

@ -63,3 +63,4 @@ EXPERIMENTAL_FEATURES = no
USE_PYHP = no #not recommended at the moment
FEDERATION = yes #does nothing yet
UPDATE_AFTER_CRASH = no #update when server is automatically restarted
DAILY_RESTART = 2 # hour of day. no / none means no daily restarts

View File

@ -520,6 +520,9 @@ def send_stats():
"scrobbles":len(SCROBBLES)
}).encode("utf-8")
}
req = urllib.request.Request(**keys)
response = urllib.request.urlopen(req)
log("Sent daily report!")
try:
req = urllib.request.Request(**keys)
response = urllib.request.urlopen(req)
log("Sent daily report!")
except:
log("Could not send daily report!")

View File

@ -119,7 +119,7 @@
<h2>Say thanks</h2>
Coding open source projects is fun, but not really monetizable. If you like Maloja, I would appreciate a small donation via
<a class="textlink" target="_blank" rel="noopener noreferrer" href="https://paypal.me/krateng">PayPal</a> or <a class="textlink" href="bitcoin:1krat8JMniJBTiHftMfR1LtF3Y1w5DAxx">Bitcoin</a>.
<a class="textlink" target="_blank" rel="noopener noreferrer" href="https://paypal.me/krateng">PayPal</a>, <a class="textlink" href="bitcoin:1krat8JMniJBTiHftMfR1LtF3Y1w5DAxx">Bitcoin</a> or <a class="textlink" href="https://flattr.com/@Krateng">Flattr</a>.
<br/><br/>