Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
s-martin committed May 10, 2024
1 parent 1ea9e05 commit 9ae8d8c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
import datetime
import os
import re
import ssl
import subprocess
import time
from threading import *
from threading import Thread

import inotify.adapters
import paho.mqtt.client as mqtt
Expand Down
7 changes: 0 additions & 7 deletions scripts/Reader.py.experimental.Multi
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ import RPi.GPIO as GPIO
import logging
from enum import Enum
from evdev import InputDevice, ecodes, list_devices
# Workaround: when using RC522 reader with pirc522 pkg the py532lib pkg may not be installed and vice-versa
try:
import pirc522
from py532lib.i2c import *
from py532lib.mifare import *
except ImportError:
pass

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion scripts/Reader.py.kkmoonRFIDreader
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import os.path
import sys


from evdev import InputDevice, categorize, ecodes, list_devices
from evdev import InputDevice, ecodes, list_devices
from select import select


Expand Down
2 changes: 1 addition & 1 deletion scripts/Reader.py.original
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import os.path
import sys

from evdev import InputDevice, categorize, ecodes, list_devices
from evdev import InputDevice, ecodes, list_devices
from select import select
import logging
logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 9ae8d8c

Please sign in to comment.