Skip to content

Commit

Permalink
fix assert error
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Aug 15, 2018
1 parent 1274952 commit 1c60ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/qgepmaptooladdfeature.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ def __init__(self, iface: QgisInterface, layer):
QgepMapToolAddFeature.__init__(self, iface, layer)
self.snapping_marker = None
self.node_layer = QgepLayerManager.layer('vw_wastewater_node')
assert self.node_layer
assert self.node_layer is not None
self.reach_layer = QgepLayerManager.layer('vw_qgep_reach')
assert self.reach_layer
assert self.reach_layer is not None
self.setAdvancedDigitizingAllowed(True)
self.setAutoSnapEnabled(True)

Expand Down

0 comments on commit 1c60ab8

Please sign in to comment.