Can’t save a document

Thank you, seems like that should be it!
One thing, how to save None? objcObject( None ) gives me:
global name 'NSNull' is not defined

I guess I can use zero, but it might be confusing