dever 4 years ago
parent
commit
efc7a213b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      front/page/__load__.py

+ 1 - 1
front/page/__load__.py

@@ -98,7 +98,7 @@ class Device(object):
 				return (None, type)
 			self.data['device'] = Device.get(self, search=search)
 
-		if not self.data['device'] or not self.data['info']:
+		if not self.data['device'] and not self.data['info']:
 			self.view('404.html')
 			return (None, type)
 		self.data['input'] = {}