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

Removed some excessive logging

This commit is contained in:
Krateng 2019-08-22 20:51:32 +02:00
parent 725d2308b1
commit 564f276496

View File

@ -959,19 +959,19 @@ def sync():
SCROBBLES[idx] = (SCROBBLES[idx][0],SCROBBLES[idx][1],True) SCROBBLES[idx] = (SCROBBLES[idx][0],SCROBBLES[idx][1],True)
log("Sorted into months",module="debug") #log("Sorted into months",module="debug")
for e in entries: for e in entries:
tsv.add_entries("scrobbles/" + e + ".tsv",entries[e],comments=False) tsv.add_entries("scrobbles/" + e + ".tsv",entries[e],comments=False)
#addEntries("scrobbles/" + e + ".tsv",entries[e],escape=False) #addEntries("scrobbles/" + e + ".tsv",entries[e],escape=False)
utilities.combineChecksums("scrobbles/" + e + ".tsv",cla.checksums) utilities.combineChecksums("scrobbles/" + e + ".tsv",cla.checksums)
log("Written files",module="debug") #log("Written files",module="debug")
global lastsync global lastsync
lastsync = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp()) lastsync = int(datetime.datetime.now(tz=datetime.timezone.utc).timestamp())
log("Database saved to disk.") #log("Database saved to disk.")
# save cached images # save cached images
#saveCache() #saveCache()