From 62a5626d9d7fae692b2f4fc88ec99595cbbc1da9 Mon Sep 17 00:00:00 2001 From: Scott Petersen Date: Thu, 17 Oct 2013 11:58:56 -0700 Subject: [PATCH] Consistency --- pyad2usb/ad2usb.py | 2 +- pyad2usb/messages.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyad2usb/ad2usb.py b/pyad2usb/ad2usb.py index 0d334d7..dd9987f 100644 --- a/pyad2usb/ad2usb.py +++ b/pyad2usb/ad2usb.py @@ -236,7 +236,7 @@ class AD2USB(object): self._fire_status = (False, 0) self._battery_status = (False, 0) self._panic_status = None - self._relay_status = dict() + self._relay_status = {} self.address = 18 self.configbits = 0xFF00 diff --git a/pyad2usb/messages.py b/pyad2usb/messages.py index c8c6dd7..a52b5fa 100644 --- a/pyad2usb/messages.py +++ b/pyad2usb/messages.py @@ -164,7 +164,7 @@ class RFMessage(object): self.value = None self.battery = None self.supervision = None - self.loop = dict() + self.loop = {} if data is not None: self._parse_message(data)