Changed the connect method to private.

This commit is contained in:
依瑪貓 2017-04-13 14:19:35 +08:00
parent eea163138c
commit 60524bb39e

View File

@ -477,9 +477,9 @@ class Office:
self.bootstrap_context = None self.bootstrap_context = None
self.service_manager = None self.service_manager = None
self.desktop = None self.desktop = None
self.connect() self.__connect()
def connect(self): def __connect(self):
"""Connect to the running OpenOffice/LibreOffice process. """Connect to the running OpenOffice/LibreOffice process.
Run OpenOffice/LibreOffice in server listening mode if it is Run OpenOffice/LibreOffice in server listening mode if it is