Commit 7cc8f51e authored by Jonathon Duerig's avatar Jonathon Duerig

Bugfix: libptopgen_new now works when protogeni_exclude is non-numeric.

parent 85049860
......@@ -1028,7 +1028,7 @@ sub calculateWillPrint($;$)
# In geni mode, disallow nodes tagged protogeni_exclude from being printed.
my $geniExclude = 0;
$node->NodeAttribute("protogeni_exclude", \$geniExclude);
my $geniok = (! defined($geniExclude) || $geniExclude == 0);
my $geniok = (! defined($geniExclude) || ! $geniExclude);
my $result =
(! $available_only || $self->available())
&& (! $genimode || $geniok)
......
Markdown is supported
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