diff options
author | jaseg <code@jaseg.net> | 2016-01-04 21:14:55 +0100 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2016-01-04 21:14:55 +0100 |
commit | cae13443bce201ccae54fb0aa99b44a008eb9d4d (patch) | |
tree | 9d07b70293016da2a74dce4299b59c11e2e646d5 /host/config.py | |
parent | dfca7a95a30baf0cc6e375e6c38a22e00e699f6b (diff) | |
download | matelight-cae13443bce201ccae54fb0aa99b44a008eb9d4d.tar.gz matelight-cae13443bce201ccae54fb0aa99b44a008eb9d4d.tar.bz2 matelight-cae13443bce201ccae54fb0aa99b44a008eb9d4d.zip |
Re-add spam filtering, improve length marquee limiting
Diffstat (limited to 'host/config.py')
-rw-r--r-- | host/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/config.py b/host/config.py index 02a047c..b76e2aa 100644 --- a/host/config.py +++ b/host/config.py @@ -44,3 +44,7 @@ crap_fw_addr, crap_fw_port = '127.0.0.1', 1338 # USB Serial number of matelight to control as byte string (None for first matelight connected) ml_usb_serial_match = None +# Maximum width allowed for marquee texts in px. For reference: Using GNU unifont, a normal (half-width) char such as ∀ +# is 8px wide, a full-width char such as 水 is 16px wide. +max_marquee_width = 140*8 + |