Ensure DEBUG is set as a Boolean 73/51973/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 9 Feb 2018 19:08:55 +0000 (11:08 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 9 Feb 2018 20:22:51 +0000 (12:22 -0800)
commit66d862611a51b3c12813b4752819230e15f2a472
tree6bd5cad6def127221d4310aa10be13839f37fcc1
parent87a087873998fbf637daf66518916feab98d84d3
Ensure DEBUG is set as a Boolean

Since os.environ only allows strings DEBUG needs to be converted.
Assigning DEBUG to the comparison of the strings is enough to get the
correct value out.

Change-Id: Ie104d2fc5de5906ad2830c5ed7cff3b1c0fda3c5
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
dashboard/src/pharos_dashboard/settings.py