Skip to content

Commit 98cb037

Browse files
authored
Padronização
1 parent 6fe4394 commit 98cb037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

raspamb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def localizar_driver():
5858
if os.name == 'posix':
5959
# Retorna o driver nos sistas operacionais posix(ubuntu, etc...)
6060
return webdriver.Chrome(os.getcwd() + '/chromedriver')
61-
elif os.name == 'nt':
61+
elif if platform.system() == "Windows":
6262
# Retorna o driver no sistema operacional windows
6363
return webdriver.Chrome(executable_path=os.getcwd() + '\chromedriver.exe')
6464
else:

0 commit comments

Comments
 (0)