fix: errors raised by Pycharm

This commit is contained in:
geoffrey45
2023-02-01 14:00:21 +03:00
parent 95c1524b68
commit 838e19cf0f
14 changed files with 20 additions and 49 deletions
+2 -2
View File
@@ -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