typo
This commit is contained in:
parent
c9ecc3cc9c
commit
aefd716615
1 changed files with 7 additions and 7 deletions
|
@ -48,7 +48,7 @@ class SessionData(models.Model):
|
|||
if self.useragent:
|
||||
self.browser = 'Unknown'
|
||||
for browser in (
|
||||
'Internet Explorer'
|
||||
'Internet Explorer',
|
||||
'Webkit',
|
||||
'Safari',
|
||||
'MeeGo',
|
||||
|
@ -68,12 +68,12 @@ class SessionData(models.Model):
|
|||
}.get(browser, browser) in self.useragent:
|
||||
self.browser = browser
|
||||
for system in (
|
||||
'Windows',
|
||||
'Mac OS X',
|
||||
'iOS',
|
||||
'Linux',
|
||||
'Andorid',
|
||||
'MeeGo',
|
||||
'Windows',
|
||||
'Mac OS X',
|
||||
'iOS',
|
||||
'Linux',
|
||||
'Andorid',
|
||||
'MeeGo',
|
||||
):
|
||||
if {
|
||||
}.get(system, system) in self.useragent:
|
||||
|
|
Loading…
Reference in a new issue