Update ospi_addon.py

Cleaned code. Replaced 'pd' with 'qdict', etc.