Skip to content

Commit

Permalink
fix bug (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaweinmann committed Sep 16, 2020
1 parent 1069b08 commit bb92840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grass7/raster/r.confusionmatrix/r.confusionmatrix.py
Expand Up @@ -131,7 +131,7 @@ def print_descriptions():
grass.message(kap)
grass.message('\n')

def set_reference():
def set_reference(descriptionflag = None):
if options['raster_reference']:
reference = options['raster_reference']
refname = reference
Expand Down Expand Up @@ -238,7 +238,7 @@ def main():
descriptionflag = flags['d']

# reference as raster
reference, refname = set_reference()
reference, refname = set_reference(descriptionflag)

# descriptions
if descriptionflag:
Expand Down

0 comments on commit bb92840

Please sign in to comment.