Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
pantheraleo-7 committed Dec 14, 2024
1 parent a2c68b9 commit d1d10ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions mfrc522/MFRC522.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with MFRC522-Python. If not, see <http://www.gnu.org/licenses/>.
#

import logging

import RPi.GPIO as GPIO
import spidev
import logging


class MFRC522:
MAX_LEN = 16
Expand Down
5 changes: 2 additions & 3 deletions mfrc522/SimpleMFRC522.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Code by Simon Monk https://github.com/simonmonk/

from . import MFRC522

class SimpleMFRC522:
from .MFRC522 import MFRC522


class SimpleMFRC522:
KEY = [0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]
BLOCK_ADDRS = [8, 9, 10]

Expand Down

0 comments on commit d1d10ec

Please sign in to comment.