diff --git a/masonite/providers/AppProvider.py b/masonite/providers/AppProvider.py
index <HASH>..<HASH> 100644
--- a/masonite/providers/AppProvider.py
+++ b/masonite/providers/AppProvider.py
@@ -75,7 +75,7 @@ class AppProvider(ServiceProvider):
         Autoload(self.app).load(directories)
 
     def _set_application_debug_level(self):
-        if self.app.make('Application').DEBUG == 'True':
+        if self.app.make('Application').DEBUG is 'True':
             self.app.make('Application').DEBUG == True
         elif self.app.make('Application').DEBUG == 'False':
-            self.app.make('Application').DEBUG == False
+            self.app.make('Application').DEBUG is False
E<I> comparison to False should be 'if cond is False:' or 'if not cond:'