Debug 1010211935:

Fixed mix button crash, when playlist isn't opened
This commit is contained in:
BarsTiger committed 2021-10-10 19:35:55 +03:00
1 parent 95afabce28
commit fe11dd9199
1 file changed
+5 -2
+5 -2
View File
@@ -827,8 +827,11 @@ def delSongFromPl():
def mixPlaylist():
global listplaylist
random.shuffle(listplaylist)
print("Mixed!")
try:
random.shuffle(listplaylist)
print("Mixed!")
except:
pass
def updateAppPy():
rpc.update(details="Updating", state="Everything needs to be up-to-date", large_image="multimate",