mirror of
https://github.com/csd4ni3l/music-player.git
synced 2026-01-01 04:03:42 +01:00
Fix crashing if the directory is empty.
This commit is contained in:
@@ -335,7 +335,7 @@ class Main(arcade.gui.UIView):
|
||||
content_to_show = [match[0] for match in matches]
|
||||
else:
|
||||
self.highest_score_file = ""
|
||||
self.content_to_show = []
|
||||
content_to_show = []
|
||||
|
||||
else:
|
||||
self.highest_score_file = ""
|
||||
|
||||
Reference in New Issue
Block a user