fix torrent path, set rendered to false if uploading again
This commit is contained in:
parent
98ecd817ba
commit
7f96b34e54
3 changed files with 4 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ class File(models.Model):
|
|||
def save(self, *args, **kwargs):
|
||||
if self.auto:
|
||||
self.set_state()
|
||||
self.sort_path= utils.sort_string(self.path)
|
||||
self.sort_path = utils.sort_string(self.path)
|
||||
if self.is_subtitle:
|
||||
self.available = self.data and True or False
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue