File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 34
34
TABLET_UA = "Mozilla/5.0 (Android 4.4; Tablet; rv:41.0) Gecko/41.0 Firefox/41.0" # nopep8
35
35
PARSED_NON_TABLET_BROWSER_NAME = "firefox mobile"
36
36
PARSED_TABLET_BROWSER_NAME = "firefox mobile tablet"
37
- PARSED_NON_TABLET_BROWSER = "Firefox Mobile 40.0 "
37
+ PARSED_NON_TABLET_BROWSER = "Firefox Mobile 40.0"
38
38
PARSED_TABLET_BROWSER = "Firefox Mobile 41.0 (Tablet)"
39
39
40
40
Original file line number Diff line number Diff line change @@ -133,10 +133,10 @@ def get_browser(user_agent_string):
133
133
version = ''
134
134
# Check for tablet devices
135
135
if ua_dict .get ('device' ).get ('model' ) == 'Tablet' :
136
- model = '(Tablet)'
136
+ model = ' (Tablet)'
137
137
else :
138
138
model = ''
139
- return '{0} {1} {2}' .format (name , version , model )
139
+ return '{0} {1}{2}' .format (name , version , model )
140
140
141
141
142
142
def get_os (user_agent_string ):
You can’t perform that action at this time.
0 commit comments