Skip to content

Commit 47eb08a

Browse files
committedNov 27, 2020
unbound variable fix
1 parent e5db9c9 commit 47eb08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎locustfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def getRandomLegendUrlRequest(allLayers:dict, wmsversion:str):
396396
keyvalue = param.split("=")
397397
getLegendGraphicRequest[keyvalue[0]] = keyvalue[1]
398398
else:
399-
getLegendGraphicRequest[keyvalue] = ""
399+
getLegendGraphicRequest[param] = ""
400400

401401
# HACK: hack for invalid LegendUrls in skinnywms
402402
if not "height" in getLegendGraphicRequest.keys() or getLegendGraphicRequest["height"] == "":

0 commit comments

Comments
 (0)