Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
lindakladivova committed Apr 6, 2021
1 parent c9d2e0b commit 14c5fcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gui/wxpython/startup/guiutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,7 @@ def switch_mapset_interactively(guiparent, giface, dbase, location, mapset,
show_confirmation=False):
"""Switch current mapset. Emits giface.currentMapsetChanged signal."""
# Decide if a user is in a fallback session
fallback_session = False
if is_fallback_session():
fallback_session = True
fallback_session = is_fallback_session()

if dbase:
if RunCommand('g.mapset', parent=guiparent,
Expand Down

0 comments on commit 14c5fcc

Please sign in to comment.