Browse Source

getsize fix in imdb.searchbuhash

pull/1/merge
Ruud 14 years ago
parent
commit
e0b3c27957
  1. 2
      libs/themoviedb/tmdb.py

2
libs/themoviedb/tmdb.py

@ -550,5 +550,5 @@ def mediaGetInfo(hash, size):
def searchByHashingFile(filename): def searchByHashingFile(filename):
"""Searches for the specified file using the OpenSubtitle hashing method """Searches for the specified file using the OpenSubtitle hashing method
""" """
return mediaGetInfo(opensubtitleHashFile(filename), os.path.size(filename)) return mediaGetInfo(opensubtitleHashFile(filename), os.path.getsize(filename))

Loading…
Cancel
Save