mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-18 21:14:31 +00:00
Revert deletion of randomFilename
This commit is contained in:
parent
586c12ec68
commit
60e357ce75
@ -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)):
|
||||
|
Loading…
Reference in New Issue
Block a user