mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Whoops
This commit is contained in:
parent
4ec2f4a118
commit
72ba0a9a72
@ -48,6 +48,7 @@ def getTrackObject(o):
|
||||
def createScrobble(artists,title,time):
|
||||
while (time in timestamps):
|
||||
time += 1
|
||||
timestamps.add(time)
|
||||
i = getTrackID(artists,title)
|
||||
obj = (i,time,False)
|
||||
SCROBBLES.append(obj)
|
||||
@ -55,6 +56,7 @@ def createScrobble(artists,title,time):
|
||||
def readScrobble(artists,title,time):
|
||||
while (time in timestamps):
|
||||
time += 1
|
||||
timestamps.add(time)
|
||||
i = getTrackID(artists,title)
|
||||
obj = (i,time,True)
|
||||
SCROBBLES.append(obj)
|
||||
|
Loading…
Reference in New Issue
Block a user