mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
fix: errors raised by Pycharm
This commit is contained in:
@@ -20,7 +20,7 @@ class GetFilesAndDirs:
|
||||
try:
|
||||
entries = os.scandir(self.path)
|
||||
except FileNotFoundError:
|
||||
return ([], [])
|
||||
return [], []
|
||||
|
||||
dirs, files = [], []
|
||||
|
||||
@@ -56,4 +56,4 @@ class GetFilesAndDirs:
|
||||
|
||||
folders = filter(lambda f: f.has_tracks, folders)
|
||||
|
||||
return (tracks, folders) # type: ignore
|
||||
return tracks, folders # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user