Minor refactoring

This commit is contained in:
Miroslav Stampar
2012-07-14 11:01:30 +02:00
parent 3f4186ce2c
commit 805120ac52
4 changed files with 5 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ def __setRequestParams():
testableParameters = False
# Perform checks on GET parameters
if conf.parameters.has_key(PLACE.GET) and conf.parameters[PLACE.GET]:
if conf.parameters.get(PLACE.GET):
parameters = conf.parameters[PLACE.GET]
paramDict = paramToDict(PLACE.GET, parameters)