From 5f7db9004d1909d41e7e3acd28b4a305aecb0a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Thu, 8 Sep 2016 21:16:02 +0800 Subject: [PATCH] Saves the macros after upload. --- oobsync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oobsync.py b/oobsync.py index 806bf99..311a5f9 100755 --- a/oobsync.py +++ b/oobsync.py @@ -161,6 +161,8 @@ def update_basic_modules(libraries, libname, modules): if not modules.has_key(modname): library.removeByName(modname) print >> sys.stderr, "Module " + modname + " removed." + if libraries.isModified(): + libraries.storeLibraries() return class OpenOffice: