I tested your code and it works ust fine, I think it has been solved. But maybe you can try to do this: param0 = arcpy.Parameter(
# Set the filter to accept only local (personal or file)geodatabases
param0.filter.list = ["Local Database",'gdb']
params = [param0] Check how I added "gdb" to the filter list.
... View more