From 798e89c131f79e89e13ed3abf77828f93d7b0e89 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 22 Jan 2012 11:04:18 +0100 Subject: [PATCH] Show network drives on Windows --- couchpotato/core/plugins/browser/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/browser/main.py b/couchpotato/core/plugins/browser/main.py index 0a57f0a1..ca7e3134 100644 --- a/couchpotato/core/plugins/browser/main.py +++ b/couchpotato/core/plugins/browser/main.py @@ -36,7 +36,7 @@ class FileBrowser(Plugin): driveletters = [] for drive in string.ascii_uppercase: - if win32file.GetDriveType(drive + ":") == win32file.DRIVE_FIXED: + if win32file.GetDriveType(drive + ":") in [win32file.DRIVE_FIXED, win32file.DRIVE_REMOTE]: driveletters.append(drive + ":\\") return driveletters