fix issue #1

change ' == None' to 'is None'