possible memory leak : attribute error

Running kodi 16.1 Git:c327c53 on mythbuntu 16.04.1 (up to date as of 25-sep-2016)
CPU/GPU i3-3225 x86_64

Current skin: Amber
This error does not occur all the time, but frequently on startup
At first I thought it was an amber issue, but swapping to confluence and restarting kodi showed the same error.

Error appears in log, nothing on screen.

09:08:02 T:139716150159104 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
– NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.AttributeError’>
Error Contents: Main instance has no attribute ‘RANDOMITEMS_UNPLAYED’
Traceback (most recent call last):
File “/home/derek/.kodi/addons/service.skin.widgets/default.py”, line 751, in onDatabaseUpdated
self.update_listitems(database)
File “/home/derek/.kodi/addons/service.skin.widgets/default.py”, line 664, in _update
self._fetch_movies(‘RandomMovie’)
File “/home/derek/.kodi/addons/service.skin.widgets/default.py”, line 172, in _fetch_movies
elif request == “RandomMovie” and self.RANDOMITEMS_UNPLAYED:
AttributeError: Main instance has no attribute ‘RANDOMITEMS_UNPLAYED’
–>End of Python script error report<–

Debug log: https://paste.ubuntu.com/23227176/

Thanks Derek