diff options
Diffstat (limited to 'cgi/oekaki.py')
-rw-r--r-- | cgi/oekaki.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/oekaki.py b/cgi/oekaki.py index d12e94e..ab31fb7 100644 --- a/cgi/oekaki.py +++ b/cgi/oekaki.py @@ -209,7 +209,7 @@ def write_from_base64(fname, data): def write_from_shi(fname, fp): # Check data type type = fp.read(1) - if type != 'P': + if type != b'P': return "UNSUPPORTED" # Read header |