mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-02-02 21:00:15 +01:00
changes for single bouquet import
This commit is contained in:
@@ -1333,7 +1333,7 @@ class Application(Gtk.Application):
|
||||
name, sep, suf = f_name.rpartition(".")
|
||||
bq = get_bouquet(path, name, suf)
|
||||
bouquet = Bouquet(name=bq[0], type=BqType(suf).value, services=bq[1], locked=None, hidden=None)
|
||||
|
||||
|
||||
s_values = self._services
|
||||
imported = list(filter(lambda x: x.data in s_values or x.type is BqServiceType.IPTV, bouquet.services))
|
||||
if len(imported) == 0:
|
||||
|
||||
Reference in New Issue
Block a user