Fix an oversight

This commit is contained in:
DarkPhoenix
2011-06-15 10:27:50 +04:00
parent 814ca1ab7c
commit c020be3565

View File

@@ -328,7 +328,7 @@ class Market():
# Check custom groups
for cgrp in self.customGroups:
# During first comparison we need exact int, not float for matching
if cgrp.ID == id or cgrp.name == identity:
if cgrp.ID == identity or cgrp.name == identity:
# Return first match
return cgrp
# Return eos group if everything else returned nothing