Browse Source

default device

Thomas Verchow 5 months ago
parent
commit
64a8c92e4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/rfidacd/daemon.py

+ 1 - 1
src/rfidacd/daemon.py

@@ -36,7 +36,7 @@ def parse_args(args):
         "--version", action="version", version="rfidacd {ver}".format(ver=__version__),
     )
     parser.add_argument(
-        "-d", "--device", help="device to listen", type=argparse.FileType("r")
+        "-d", "--device", default="/dev/input/event0", help="device to listen", type=argparse.FileType("r")
     )
     parser.add_argument(
         "-p", "--path", default=".", help="path to action scripts", type=dir_path