forked from openlp/openlp
fix PEP8
This commit is contained in:
parent
0678155400
commit
dbb07db257
@ -450,7 +450,7 @@ def get_web_page(url, header=None, update_openlp=False):
|
||||
|
||||
def get_uno_command(connection_type='pipe'):
|
||||
"""
|
||||
Returns the UNO command to launch an openoffice.org instance.
|
||||
Returns the UNO command to launch an libreoffice.org instance.
|
||||
"""
|
||||
for command in ['libreoffice', 'soffice']:
|
||||
if which(command):
|
||||
@ -468,7 +468,7 @@ def get_uno_command(connection_type='pipe'):
|
||||
|
||||
def get_uno_instance(resolver, connection_type='pipe'):
|
||||
"""
|
||||
Returns a running openoffice.org instance.
|
||||
Returns a running libreoffice.org instance.
|
||||
|
||||
:param resolver: The UNO resolver to use to find a running instance.
|
||||
"""
|
||||
|
@ -18,4 +18,4 @@
|
||||
# You should have received a copy of the GNU General Public License along #
|
||||
# with this program; if not, write to the Free Software Foundation, Inc., 59 #
|
||||
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
###############################################################################
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user