diff --git a/tui_rsync/models/models.py b/tui_rsync/models/models.py index 269f8ff..3549497 100644 --- a/tui_rsync/models/models.py +++ b/tui_rsync/models/models.py @@ -90,6 +90,14 @@ class Source(BaseModel): path=destination_path ) + def get_destinations(self): + destionations = [] + + for dest in self.destinations: + destionations.append(dest.path) + + return destionations + def update_label(self, new_label): self.label = new_label self.save()