Removed relience of DEV == True

DEV is true in production right now.
pep8
first attempt. r?