Signbank / FinSL-signbank

Web based database for sign language lexicons and corpuses. Fork of NGT-signbank (https://github.com/Signbank/Global-signbank).
https://signbank.csc.fi
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Listing of non-existing videofiles lists videos that exist #245

Closed henrinie closed 7 years ago

henrinie commented 7 years ago

Due to the recent changes (I suppose, because I didn't notice this before them), the listing of non-existing videofiles on statistics page reports videofiles that actually do exist. Fix this.

henrinie commented 7 years ago

Now fixed. There was a path mess in there, file.path has the full path, and we were checking for mediaroot + the fullpath, obviously that doesn't work.