Changeset 70336


Ignore:
Timestamp:
Jan 10, 2017, 7:27:04 PM (8 years ago)
Author:
wenzeslaus
Message:

wxGUI: use library function for decode of gisdbase string in location wizard (see #2885 and r70335)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/gui/wxpython/location_wizard/wizard.py

    r70145 r70336  
    5858from location_wizard.dialogs import SelectTransformDialog
    5959
     60from grass.script import decode
    6061from grass.script import core as grass
    6162from grass.exceptions import OpenError
     
    25612562
    25622563        # current GISDbase or a new one?
    2563         current_gdb = grass.gisenv()['GISDBASE'].decode(sys.stdin.encoding)
     2564        current_gdb = decode(grass.gisenv()['GISDBASE'])
    25642565        if current_gdb != database:
    25652566            # change to new GISDbase or create new one
Note: See TracChangeset for help on using the changeset viewer.