Python exception with latest code from github (Oct 30th)

I just synced my local copy with Github and now, when PlexConnect is running but PMS is not, i get the following exception when trying to access trailers

17:18:25 PlexAPI: looking up Plex Media Server
17:18:25 PlexAPI: ***
17:18:26 PlexAPI: GDM: No servers discovered
----------------------------------------
Exception happened during processing of request from ('10.0.1.17', 64518)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 321, in process_request
    self.finish_request(request, client_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 649, in __init__
    self.handle()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/Users/rob/Development/PlexConnect/WebServer.py", line 168, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
  File "/Users/rob/Development/PlexConnect/XMLConverter.py", line 175, in XML_PMS2aTV
    PlexAPI.discoverPMS(UDID, g_param['CSettings'], auth_token)
  File "/Users/rob/Development/PlexConnect/PlexAPI.py", line 259, in discoverPMS
    dprint(__name__, 0, "Servers (local+MyPlex): {0}", len(g_PMS[ATV_udid]))
KeyError: 'DY3HCCFMDRHN'

On the last code version i had, if i tried accessing trailer while PMS was not running, it would load the PlexConnect GUI but state that no plex media servers were found.

 

Looks like iBaa fixed this with today's commit. Thanks.

This fix was one of Dahlgren's goodies!