projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correctly return tags for inventory
[Biblio-RFID.git]
/
lib
/
Biblio
/
RFID
/
Reader
/
librfid.pm
diff --git
a/lib/Biblio/RFID/Reader/librfid.pm
b/lib/Biblio/RFID/Reader/librfid.pm
index
d665d03
..
9fa3387
100644
(file)
--- a/
lib/Biblio/RFID/Reader/librfid.pm
+++ b/
lib/Biblio/RFID/Reader/librfid.pm
@@
-76,7
+76,7
@@
sub inventory {
_grep_tool 'librfid-tool', '--scan' => sub {
my ( $sid, $iso ) = @_;
if ( $sid ) {
- push @tags, $sid
unless defined $sid_iso->{$sid}
;
+ push @tags, $sid;
$sid_iso->{$sid} = $iso;
}
};