bitly/pyqrencode — Issue #3: Option usage
Author: benoit-intrw
Created: 2011-10-31 15:06:11+00:00
State: open

The option enum from qrencode.h are not available at python level. (QR_ECLEVEL_L, etc., QR_MODE_NUM, etc.)

How are we supposed to pass option to encode method ?

I've tried following code which result in segmentation fault.

```python
enc.encode('http://bit.ly', {'mode': 1, 'ec_level': 1})
```

Any tips ?