개정판 11ef592d
issue #597: fix colors
Change-Id: I962cc4c546a7582a059a919be1640917a9bb7748
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
334 | 334 |
cursor.execute(sql) |
335 | 335 |
rows = cursor.fetchall() |
336 | 336 |
for row in rows: |
337 |
self._colors.append(Color(int(row[0]), int(row[1]), int(row[2]), int(row[3])))
|
|
337 |
self._colors.append(Color(row['UID'], row['RED'], row['GREEN'], row['BLUE']))
|
|
338 | 338 |
# Catch the exception |
339 | 339 |
except Exception as ex: |
340 | 340 |
from App import App |
내보내기 Unified diff