Check if Client.Platform is None before using it
Merge pull request #2 from henworth/master

Check if Client.Platform is None before using it