make permanent url name#claim_id on torba too
This commit is contained in:
parent
c1d3b5984d
commit
a0a810edc3
1 changed files with 0 additions and 6 deletions
|
@ -80,12 +80,6 @@ class Output(BaseOutput):
|
|||
@property
|
||||
def permanent_url(self) -> str:
|
||||
if self.script.is_claim_involved:
|
||||
if self.channel is not None:
|
||||
return "{}#{}/{}".format(
|
||||
self.channel.claim_name,
|
||||
self.channel.claim_id,
|
||||
self.claim_name
|
||||
)
|
||||
return f"{self.claim_name}#{self.claim_id}"
|
||||
raise ValueError('No claim associated.')
|
||||
|
||||
|
|
Loading…
Reference in a new issue