Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing]do not show option for wine folder if running windows
  • Loading branch information
volaya committed Jan 21, 2016
1 parent ddf3db0 commit 858dbd2
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -21,6 +21,7 @@
***************************************************************************
"""


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

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

from processing.tools.system import isWindows

class LAStoolsUtils:

Expand All @@ -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:
Expand Down

0 comments on commit 858dbd2

Please sign in to comment.