Permalink
Browse files

Fix quotation handling

  • Loading branch information...
1 parent e6bd838 commit e9a7497891be6c03f295aab71c4f55fc99d50fd8 @ajnelson committed Jan 22, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/make_rds_format.py
@@ -8,7 +8,7 @@
Table 2
"""
-__version__ = "0.3.5"
+__version__ = "0.3.6"
import os
import logging
@@ -96,7 +96,7 @@ def main():
read_bytes += len(byte_buffer)
#This line c/o: https://docs.python.org/3.3/library/binascii.html#binascii.crc32
- _crc32 = '"{:#010x}"'.format(crc & 0xffffffff)[3:].upper()
+ _crc32 = '"' + '{:#010x}'.format(crc & 0xffffffff)[2:].upper() + '"'
checker_md5_digest = checker_md5.hexdigest().upper()
if (not _md5 in [None, "", '""']) and checker_md5_digest != _md5[1:-1]:

0 comments on commit e9a7497

Please sign in to comment.