def append_entry()

in source/ecs/workspaces_helper.py [0:0]


    def append_entry(self, old_csv, result):
        s = ','
        csv = old_csv + s.join((
            result['workspaceID'],
            str(result['billableTime']),
            str(result['hourlyThreshold']),
            result['optimizationResult'],
            result['bundleType'],
            result['initialMode'],
            result['newMode'],
            result['userName'],
            result['computerName'],
            result['directoryId'],
            result['workspaceTerminated'],
            ''.join(('"', str(result['tags']), '"')) + '\n'  # Adding quotes to the string to help with csv format
        ))

        return csv