Home Download Buy Blog Forum Support

ST3 view settings fallback to None on occasional events

ST3 view settings fallback to None on occasional events

Postby twolfson on Mon Jan 20, 2014 8:34 am

Occasionally some ST3 events (e.g. `on_deactivated_async`) do not properly fallback `None` when their settings are being retrieved against. One example is

Code: Select all
# Returns `None` instead of `[]` when `hai` is not defined
view.settings().get('hai', [])


This has been tested against builds 3054 and 3059 in Ubuntu 12.04 LTS.
twolfson
 
Posts: 1
Joined: Mon Jan 20, 2014 8:30 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 21 guests