mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
fixed var name
This commit is contained in:
parent
726bd8c587
commit
8354035b08
1 changed files with 2 additions and 2 deletions
|
|
@ -108,12 +108,12 @@ class StreamProfile(models.Model):
|
|||
return instance
|
||||
|
||||
def is_proxy(self):
|
||||
if self.locked and self.name == PROXY_PROFILE:
|
||||
if self.locked and self.profile_name == PROXY_PROFILE:
|
||||
return True
|
||||
return False
|
||||
|
||||
def is_redirect(self):
|
||||
if self.locked and self.name == REDIRECT_PROFILE:
|
||||
if self.locked and self.profile_name == REDIRECT_PROFILE:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue