From 7f003125179178a4d72ed3738d049971d82b9974 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 8 Dec 2015 07:53:29 +1100 Subject: [PATCH] Removed __main__ code from WalImageFile --- PIL/WalImageFile.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/PIL/WalImageFile.py b/PIL/WalImageFile.py index fc2bb30a7..46ab0d5bd 100644 --- a/PIL/WalImageFile.py +++ b/PIL/WalImageFile.py @@ -124,8 +124,3 @@ quake2palette = ( b"\x10\x0f\x0d\x0d\x0b\x3c\x2e\x2a\x36\x27\x20\x30\x21\x18\x29\x1b" b"\x10\x3c\x39\x37\x37\x32\x2f\x31\x2c\x28\x2b\x26\x21\x30\x22\x20" ) - -if __name__ == "__main__": - im = open("../hacks/sample.wal") - print(im.info, im.mode, im.size) - im.save("../out.png")