rabin %!s(int64=7) %!d(string=hai) anos
pai
achega
9c60e19484
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      core.py

+ 2 - 0
core.py

@@ -214,6 +214,8 @@ class Demeter(object):
 
 	@staticmethod
 	def checkMobile(request):
+		if 'Demeter-Mobile' in request.headers:
+			return True
 		userAgent = request.headers['User-Agent']
 		# userAgent = env.get('HTTP_USER_AGENT')