CC-2954: Exception in media monitor using Dropbox

-Need to check if size is >=2, not 3.
This commit is contained in:
Martin Konecny 2011-11-03 22:12:03 -04:00
parent 9448728d63
commit b33ced99c8
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class MediaMonitorCommon:
# if file doesn't have any extension, info[-2] throws exception
# Hence, checking length of info before we do anything
if(len(info) >= 3):
if(len(info) >= 2):
if(info[-2] in self.supported_file_formats):
return True
else: