Skip to content

Commit 70a31ff

Browse files
singhujjwalmethane
authored andcommitted
Fix win32 platform support (#1)
1 parent 3ebd694 commit 70a31ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

myloginpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _get_login_path_file():
5050
return file_path
5151

5252
if sys.platform == "win32":
53-
file_path = os.path.join(getenv("APPDATA"), "MySQL", ".mylogin.cnf")
53+
file_path = os.path.join(os.getenv("APPDATA"), "MySQL", ".mylogin.cnf")
5454
else:
5555
file_path = os.path.join("~", ".mylogin.cnf")
5656
return os.path.expanduser(file_path)

0 commit comments

Comments
 (0)