Mark my optional files using directory on signing instead of file path

This commit is contained in:
shortcutme 2017-10-04 13:14:24 +02:00
parent cd025316db
commit e8a439cad3
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 6 additions and 5 deletions

View file

@ -173,7 +173,7 @@ class ContentDbPlugin(object):
is_downloaded = 1
else:
is_downloaded = 0
if site.address + "/" + file_inner_path in self.my_optional_files:
if site.address + "/" + content_inner_dir in self.my_optional_files:
is_pinned = 1
else:
is_pinned = 0