Browse Source

Adding extchars to alphasign namespace and adding empty message workaround

Matt Sparks 15 years ago
parent
commit
0e4a8f45f0
2 changed files with 4 additions and 1 deletions
  1. 2 1
      alphasign/__init__.py
  2. 2 0
      alphasign/text.py

+ 2 - 1
alphasign/__init__.py

@@ -16,4 +16,5 @@ from text import Text
 import colors
 import positions
 import modes
-import speeds
+import speeds
+import extchars

+ 2 - 0
alphasign/text.py

@@ -6,6 +6,8 @@ from packet import Packet
 
 class Text(object):
   def __init__(self, msg=None, label=None, size=None, position=None, mode=None):
+    if msg is None:
+      msg = ""
     if label is None:
       label = "A"
     if size is None: