fix wmi_ini_dir
Merge pull request #937 from globin/patch-1

fix wmi_ini_dir