From 0e1dd8398e71c5a65d4606d97662cbb106f5d047 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 15 Oct 2014 10:20:42 +0200 Subject: [PATCH] remove prints --- blendfile.py | 3 +-- packer.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/blendfile.py b/blendfile.py index a21f9fa..33dcca3 100644 --- a/blendfile.py +++ b/blendfile.py @@ -581,8 +581,7 @@ class DNA_IO: stringw = astring[0:fieldlen] else: stringw = astring + b'\0' - print(stringw) - print(handle) + handle.write(stringw) _STRING = [struct.Struct("%ds" % i) for i in range(0, 2048)] diff --git a/packer.py b/packer.py index 60020aa..f117bf0 100644 --- a/packer.py +++ b/packer.py @@ -68,8 +68,8 @@ class FilePath: lib_id = block[b"lib"] lib = blend.find_block_from_offset(lib_id) # print(block.fields) - print(block) - print(lib) + # print(block) + # print(lib) # import IPython; IPython.embed() blend.close()