fixed user_agent_parser
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.3 (2011-11-29 22:32:27) dev
|
Version 1.99.3 (2011-11-30 21:57:49) dev
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ class MacOS(Flavor):
|
|||||||
class Windows(OS):
|
class Windows(OS):
|
||||||
look_for = 'Windows'
|
look_for = 'Windows'
|
||||||
prefs = dict(browser=["Microsoft Internet Explorer", 'Firefox'],
|
prefs = dict(browser=["Microsoft Internet Explorer", 'Firefox'],
|
||||||
dist=['WindowsMobile'] flavor=None)
|
dist=['WindowsMobile'], flavor=None)
|
||||||
|
|
||||||
def getVersion(self, agent):
|
def getVersion(self, agent):
|
||||||
v = agent.split('Windows')[-1].split(';')[0].strip()
|
v = agent.split('Windows')[-1].split(';')[0].strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user