#!/usr/bin/env python

class OriginData(object):

    def dictionary(self):
        attributes_dictionary = {}
        for key, value in self.__dict__.items():
            if key.startswith("_"):
                continue
            else:
                if key not in ["observers"]:
                    attributes_dictionary[key] = value

        return attributes_dictionary

#!/usr/bin/env python

class OriginData(object):

    def dictionary(self):
        attributes_dictionary = {}
        for key, value in self.__dict__.items():
            if key.startswith("_"):
                continue
            else:
                if key not in ["observers", "selected_room"]:
                    attributes_dictionary[key] = value

        return attributes_dictionary

change dictionary function to don't return selected_room variable