forked from 0x2620/pandora
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:
|
if self.useragent:
|
||||||
self.browser = 'Unknown'
|
self.browser = 'Unknown'
|
||||||
for browser in (
|
for browser in (
|
||||||
'Internet Explorer'
|
'Internet Explorer',
|
||||||
'Webkit',
|
'Webkit',
|
||||||
'Safari',
|
'Safari',
|
||||||
'MeeGo',
|
'MeeGo',
|
||||||
|
@ -68,12 +68,12 @@ class SessionData(models.Model):
|
||||||
}.get(browser, browser) in self.useragent:
|
}.get(browser, browser) in self.useragent:
|
||||||
self.browser = browser
|
self.browser = browser
|
||||||
for system in (
|
for system in (
|
||||||
'Windows',
|
'Windows',
|
||||||
'Mac OS X',
|
'Mac OS X',
|
||||||
'iOS',
|
'iOS',
|
||||||
'Linux',
|
'Linux',
|
||||||
'Andorid',
|
'Andorid',
|
||||||
'MeeGo',
|
'MeeGo',
|
||||||
):
|
):
|
||||||
if {
|
if {
|
||||||
}.get(system, system) in self.useragent:
|
}.get(system, system) in self.useragent:
|
||||||
|
|
Loading…
Reference in a new issue