mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 06:09:57 -05:00
Adding toggle to prevent downloads from starting when cookies are locked.
This commit is contained in:
parent
9b3a03012e
commit
ae7ab1981f
8 changed files with 36 additions and 3 deletions
|
|
@ -393,8 +393,8 @@ class Archive(Base, ModelHelper):
|
|||
archive = model_archive(session, file_group)
|
||||
return archive
|
||||
|
||||
def add_tag(self, tag_id_or_name: int | str, session: Session = None) -> TagFile:
|
||||
return self.file_group.add_tag(tag_id_or_name, session)
|
||||
def add_tag(self, session: Session, tag_id_or_name: int | str) -> TagFile:
|
||||
return self.file_group.add_tag(session, tag_id_or_name)
|
||||
|
||||
@property
|
||||
def location(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue