Readme: I got SimpleText's creator wrong!

This commit is contained in:
Elliot Nunn 2018-12-10 16:04:13 +08:00
parent d4536441e2
commit da3091668e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ v['Folder']['File'] = File()
v['Folder']['File'].data = b'Hello from Python!\r'
v['Folder']['File'].rsrc = b'' # Use the macresources library to work with resource forks
v['Folder']['File'].type = b'TEXT'
v['Folder']['File'].creator = b'TTXT' # Teach Text/SimpleText
v['Folder']['File'].creator = b'ttxt' # Teach Text/SimpleText
with open('FloppyImage.dsk', 'wb') as f:
flat = v.write(