mirror of
https://gitlab.com/KKlochko/tui-rsync.git
synced 2026-08-12 17:57:43 +00:00
(Added) sync all function.
Added all_labels_except for choosing many labels. Added fzf function for using all_labels_except.
This commit is contained in:
@@ -80,3 +80,7 @@ def create_tables():
|
||||
def all_labels():
|
||||
with db:
|
||||
return Source.select(Source.label)
|
||||
|
||||
def all_labels_except(labels):
|
||||
with db:
|
||||
return Source.select(Source.label).where(Source.label.not_in(labels))
|
||||
|
||||
Reference in New Issue
Block a user