[sr-dev] [kamailio/kamailio] kamctl - maintenance for dbtextdb.py tool (#2469)

UncleRa notifications at github.com
Thu Jun 23 16:37:03 CEST 2022


Modify two strings: 1138 and 1146
`# cat -n dbtextdb.py | head -n 1146 | tail -n 10
  1137          # Modified by Alexander "Ramzes" Rozes to prevent TypeError: a bytes-like object is required, not 'str'
  1138          self.temp_file.write((header.strip() + '\n').encode())
  1139
  1140          # write data
  1141          for row in self.data:
  1142              row_str = ''
  1143              for col in columns:
  1144                  row_str = '%s:%s' % (row_str, row[col])
  1145
  1146              self.temp_file.write((row_str[1:] + '\n').encode()) # Modified by Alexander "Ramzes" Rozes
`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2469#issuecomment-1164490679
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/2469/1164490679 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220623/b0f1ca6a/attachment.htm>


More information about the sr-dev mailing list