Mark my optional files using directory on signing instead of file path
This commit is contained in:
parent
cd025316db
commit
e8a439cad3
2 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue