mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
lyx2lyx: fix del_module method
This commit is contained in:
parent
73afc41e5e
commit
2a07efa6f7
@ -621,7 +621,7 @@ class LyX_base:
|
||||
modlist = self.get_module_list()
|
||||
if module not in modlist:
|
||||
return False
|
||||
self.set_module_list([line for line in modlist if line != "ruby"])
|
||||
self.set_module_list([line for line in modlist if line != module])
|
||||
return True
|
||||
|
||||
def get_module_list(self):
|
||||
|
Loading…
Reference in New Issue
Block a user