Removed relience of DEV == True

DEV is true in production right now.
pep8