Skip to content

Commit 500e4ca

Browse files
committed
Fixed bug for non-curses display
1 parent 0b43bc1 commit 500e4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

display.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ class Display:
44
"""
55

66
def __init__(self):
7+
self.scalars = {}
8+
self.matrices = {}
79
try:
810
import curses
911
self.curses_available = True
1012
self.screen = curses.initscr()
11-
self.scalars = {}
12-
self.matrices = {}
1313
except:
1414
print "Curses library not installed defaulting to standard console output"
1515
self.curses_available = False

0 commit comments

Comments
 (0)