From 1c763bfa73eef01fd0a76fcae9ac62109c772b9a Mon Sep 17 00:00:00 2001 From: Derek Stavis Date: Thu, 27 Apr 2017 16:09:49 -0300 Subject: [PATCH] Add support to multiple readers --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e9160b0..541dda2 100644 --- a/main.go +++ b/main.go @@ -45,7 +45,7 @@ func getCard() (*scard.Card, error) { selected := -1 - if len(readers) == 1 { + if len(readers) >= 1 { selected = 0 }