mirror of
https://gitlab.com/KKlochko/tui-rsync.git
synced 2026-08-12 17:57:43 +00:00
(Added) update label option for source.
This commit is contained in:
@@ -82,6 +82,10 @@ class Source(BaseModel):
|
||||
src.save()
|
||||
return src
|
||||
|
||||
def update_label(self, new_label):
|
||||
self.label = new_label
|
||||
self.save()
|
||||
|
||||
def update_args(self, args):
|
||||
args_obj = SyncCommand.get_sync_command(args)
|
||||
self.args = args_obj
|
||||
|
||||
Reference in New Issue
Block a user