mirror of
https://github.com/csd4ni3l/music-player.git
synced 2026-01-01 12:13: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]
|
content_to_show = [match[0] for match in matches]
|
||||||
else:
|
else:
|
||||||
self.highest_score_file = ""
|
self.highest_score_file = ""
|
||||||
self.content_to_show = []
|
content_to_show = []
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self.highest_score_file = ""
|
self.highest_score_file = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user