Skip to content

Commit 3eb8e2a

Browse files
committed
ENH: Return direct info dict
1 parent 14b1549 commit 3eb8e2a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

botcity/web/bot.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@ def get_botcity_temp_dir(opt, browser_name):
5555
Browser.FIREFOX: None,
5656
Browser.IE: None
5757
}
58-
response = browsers.get(browser_name, None)
59-
60-
if not response:
61-
return None
62-
63-
return response
58+
return browsers.get(browser_name, None)
6459

6560
if bot() is not None:
6661
try:

0 commit comments

Comments
 (0)