syntax error

This commit is contained in:
Martin Konecny 2013-03-19 15:22:27 -04:00
parent 65b4d4ee57
commit 708d36ba9c
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ class PypoFetch(Thread):
#check if this file is opened (sometimes Liquidsoap is still
#playing the file due to our knowledge of the track length
#being incorrect!)
if not self.is_file_opened():
if not self.is_file_opened(path):
os.remove(path)
except Exception, e:
self.logger.error(e)