From 60e357ce75d12675de542c6375d3c31abdeadbcb Mon Sep 17 00:00:00 2001 From: Et0h Date: Sun, 3 Jul 2016 17:58:37 +0100 Subject: [PATCH] Revert deletion of randomFilename --- syncplay/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/syncplay/client.py b/syncplay/client.py index d363db2..a79e465 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -1703,6 +1703,7 @@ class FileSwitchManager(object): if highPriority and self.folderSearchEnabled: directoryList = self.mediaDirectories # Spin up hard drives to prevent premature timeout + randomFilename = u"RandomFile"+unicode(random.randrange(10000, 99999))+u".txt" for directory in directoryList: startTime = time.time() if os.path.isfile(os.path.join(directory, randomFilename)):