fix: workaround around merged parts
This commit is contained in:
@ -15,7 +15,10 @@ class Latest:
|
||||
self.raw = raw
|
||||
|
||||
def get_name(self):
|
||||
return self.path.split("/")[-1]
|
||||
name = self.path.split("/")[-1]
|
||||
if name == "":
|
||||
name = self.segments[0]["path"].split("/")[-1][:-4]
|
||||
return name
|
||||
|
||||
@staticmethod
|
||||
def from_dict(data):
|
||||
|
||||
Reference in New Issue
Block a user