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

Small improvements

This commit is contained in:
krateng 2022-04-07 21:21:10 +02:00
parent 40c0edb06f
commit 387c40d18c
2 changed files with 6 additions and 3 deletions

View File

@ -135,6 +135,7 @@ def incoming_scrobble(rawscrobble,fix=True,client=None,api=None,dbconn=None):
@waitfordb @waitfordb
def remove_scrobble(timestamp): def remove_scrobble(timestamp):
log(f"Deleting Scrobble {timestamp}")
result = sqldb.delete_scrobble(timestamp) result = sqldb.delete_scrobble(timestamp)
dbcache.invalidate_caches(timestamp) dbcache.invalidate_caches(timestamp)

View File

@ -21,10 +21,12 @@
['setup','Server Setup'], ['setup','Server Setup'],
['settings','Settings'], ['settings','Settings'],
['apikeys','API Keys'], ['apikeys','API Keys'],
['manual','Manual Scrobbling'], ['manual','Manual Scrobbling']
['issues','Database Maintenance']
] %} ] %}
{# ['import','Scrobble Import'] hide page for now #} {# ['import','Scrobble Import'],
['issues','Database Maintenance']
hide for now #}
{% if page=='admin_' + tab_url %} {% if page=='admin_' + tab_url %}
<span style="opacity:0.5;">{{ tab_name }}</span> <span style="opacity:0.5;">{{ tab_name }}</span>
{% else %} {% else %}