Commit 835565e7 authored by Jens Korinth's avatar Jens Korinth
Browse files

Bugfix in tapasco::get_feature

parent 1e24bf6e
......@@ -555,7 +555,7 @@ namespace eval tapasco {
# Returns a dictionary with the configuration of given feature (if it exists).
proc get_feature {feature} {
global features
if {[info exists features]} { return [dict get $features $feature] } { return [dict] }
if {[info exists features]} { return [dict get $features $feature] } { return [dict create] }
}
# Returns true, if given feature is configured and enabled.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment