Fix get_drives function

pull/62/head
Thomas Bouve 2021-09-14 00:51:25 +02:00
rodzic f6ce0cdb29
commit d12485873b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -103,7 +103,7 @@ def get_drive_letters() -> List[str]:
if sys.platform == 'win32':
# Windows has drive letters
drives = [f'{d}:\\' for d in string.ascii_lowercase if os.path.exists(f'{d}:')]
drives = [os.path.realpath(f'{d}:\\') for d in string.ascii_uppercase if os.path.exists(f'{d}:')]
return drives