Skip to content

Commit

Permalink
Mac OS X Report
Browse files Browse the repository at this point in the history
  • Loading branch information
cogitas3d committed Jan 28, 2019
1 parent 67a5b51 commit efb9d47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GeraRelatorio.py
Expand Up @@ -195,6 +195,11 @@ def GeraRelatorioDef(self, context):
if platform.system() == "Windows":
abrir_diretorio(tmpdir)
subprocess.Popen('cd "C:/Program Files/LibreOffice/program/" & dir & soffice.bin '+tmpdir+"/Report_OrtogOnBlender.xlsx", shell=True)

if platform.system() == "Darwin":
abrir_diretorio(tmpdir)
subprocess.Popen('/Applications/LibreOffice.app/Contents/MacOS/soffice '+tmpdir+"/Report_OrtogOnBlender.xlsx", shell=True)


# APAGANDO

Expand Down

0 comments on commit efb9d47

Please sign in to comment.