Skip to content
Permalink
Browse files

[processing]do not show option for wine folder if running windows

  • Loading branch information
volaya committed Jan 21, 2016
1 parent ddf3db0 commit 858dbd2d1fc3fe7c6d439bf69e764513803615b1
Showing with 6 additions and 2 deletions.
  1. +6 −2 python/plugins/processing/algs/lidar/lastools/LAStoolsUtils.py
@@ -21,6 +21,7 @@
***************************************************************************
"""


__author__ = 'Victor Olaya'
__date__ = 'August 2012'
__copyright__ = '(C) 2012, Victor Olaya'
@@ -34,7 +35,7 @@

from processing.core.ProcessingLog import ProcessingLog
from processing.core.ProcessingConfig import ProcessingConfig

from processing.tools.system import isWindows

class LAStoolsUtils:

@@ -51,7 +52,10 @@ def LAStoolsPath():
lastools_folder = ProcessingConfig.getSetting(LAStoolsUtils.LASTOOLS_FOLDER)
if lastools_folder is None:
lastools_folder = ""
wine_folder = ProcessingConfig.getSetting(LAStoolsUtils.WINE_FOLDER)
if isWindows():
wine_folder = ""
else:
wine_folder = ProcessingConfig.getSetting(LAStoolsUtils.WINE_FOLDER)
if wine_folder is None or wine_folder == "":
folder = lastools_folder
else:

0 comments on commit 858dbd2

Please sign in to comment.
You can’t perform that action at this time.