forked from 0x2620/pandora
and and
This commit is contained in:
parent
71fdb6f8aa
commit
e63c698b5d
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class SessionData(models.Model):
|
||||||
if screen and 'height' in screen and 'width' in screen:
|
if screen and 'height' in screen and 'width' in screen:
|
||||||
data.screensize = '%sx%s' % (screen['width'], screen['height'])
|
data.screensize = '%sx%s' % (screen['width'], screen['height'])
|
||||||
window = data.info.get('window', {})
|
window = data.info.get('window', {})
|
||||||
if window 'outerHeight' in window and 'outerWidth' in window:
|
if window and 'outerHeight' in window and 'outerWidth' in window:
|
||||||
data.windowsize = '%sx%s' % (window['outerWidth'], window['outerHeight'])
|
data.windowsize = '%sx%s' % (window['outerWidth'], window['outerHeight'])
|
||||||
if not data.timesseen:
|
if not data.timesseen:
|
||||||
data.timesseen = 0
|
data.timesseen = 0
|
||||||
|
|
Loading…
Reference in a new issue