tjguk / wmi

102 stars 29 forks source link

Fix python3 compatibility issue. #15

Open Mason-Lin opened 3 years ago

Mason-Lin commented 3 years ago

Hi tjquk, First of all, thank you for taking the time to review and maintain this project. I found some issue while I trying to use _wmi_class's to_csv() function in python3.

1. TypeError: a bytes-like object is required, not 'str'

2. NameError: name 'unicode' is not defined

Warm regards, Mason