Saves the macros after upload.

This commit is contained in:
依瑪貓 2016-09-08 21:16:02 +08:00
parent a58e060d8a
commit 5f7db9004d

View File

@ -161,6 +161,8 @@ def update_basic_modules(libraries, libname, modules):
if not modules.has_key(modname): if not modules.has_key(modname):
library.removeByName(modname) library.removeByName(modname)
print >> sys.stderr, "Module " + modname + " removed." print >> sys.stderr, "Module " + modname + " removed."
if libraries.isModified():
libraries.storeLibraries()
return return
class OpenOffice: class OpenOffice: