fanjindong

Results 7 issues of fanjindong

this: contents = ( 'YAFMAIL', 'This is the body, and here is just text http://somedomain/image.png', 'You can find an audio file attached.', {'/data/lvmama/11/1008/02ffc004d9c91a4f5f3858b5c3239b06.jpg': '美食'} ) but: ![image](https://user-images.githubusercontent.com/24584669/33988312-fca06a98-e0fe-11e7-801f-694581bbd891.png) chaotic,chaotic,chaotic!!! what can...

> rdb -c memory --db 0 /var/lib/redis/6379/dump.rdb -f memory.csv result: ![image](https://user-images.githubusercontent.com/24584669/35613545-6e3830b4-06a7-11e8-8cc2-adceb14b5088.png)

if self._async_conn is None raise `AttributeError: 'NoneType' object has no attribute 'cursor'` Peewee-async used in our production environment, When high concurrency, the following error is raised ``` AttributeError: 'NoneType' object...

refactor base on python3

**Part of the code:** ```python data=tablib.Dataset(headers=['userId','userPhone', 'phone', 'address']) for item in resp_data: order_id,user,phone,address=item.get('id',''),item.get('userPhone',''),item.get('phone',''),item.get('contact',{}).get('address') print('>>>',database,user,phone,address) if not address: continue data.append([order_id,user,phone,address]) with open('data_6.9-8.23.xls', 'wb') as f: f.write(data.xls) ``` **Part of the print:**...