# Path: kano_profile/paths.py
# TRACKER_UUIDS_PATH = os.path.join(kanoprofile_dir, 'tracker', 'uuids')
# PAUSED_SESSIONS_FILE = os.path.join(kanoprofile_dir, '.paused_sessions')
# 
# Path: kano_avatar/paths.py
# AVATAR_DEFAULT_LOC = os.path.join(get_home(), '.character-content')


import os
from kano.logging import logger
from kano.utils import (read_json, write_json, get_date_now, ensure_dir,
                        chown_path, get_user_unsudoed, run_bg, is_running,
                        list_dir)
from .paths import profile_file, profile_dir, kanoprofile_dir, bin_dir
from kano_avatar.paths import AVATAR_DEFAULT_LOC
    subcat = 'judoka'
    item = {
        'judoka-accessories': 'judoka-accessories-none',
        'judoka-belts': 'Belt_Orange',
        'judoka-faces': 'Face_Happy',
        'judoka-hair': 'Hair_Black',
        'judoka-hats': 'judoka-hats-none',
        'judoka-headwear': 'judoka-headwear-none',
        'judoka-scarves': 'judoka-scarves-none',
        'judoka-skins': 'Skin_Orange',
        'judoka-stickers': 'Sticker_Code',
        'judoka-suits': 'Suit_White',
    }
    return subcat, item


def get_avatar_circ_image_path():
    """ Returns a full path to the file that contains the asset that is being
    used as the icon stamp on the desktop. To do this, assuming the version of
    the profile structure is correct, it looks into the default avatar asset
    folder for a file with the suffix '_circ_ring.png'.
    In case of error the string that is returned is empty
    :returns: Path to circular image to be used as icon stamp
    :rtype: string
    """
    profile = load_profile()
    if 'version' not in profile or profile['version'] == 1:
        logger.error("Version field not existent or is less than 2")
        return ''
    elif profile['version'] == 2:

# Path: kano_profile/paths.py
# TRACKER_UUIDS_PATH = os.path.join(kanoprofile_dir, 'tracker', 'uuids')
# PAUSED_SESSIONS_FILE = os.path.join(kanoprofile_dir, '.paused_sessions')
# 
# Path: kano_avatar/paths.py
# AVATAR_DEFAULT_LOC = os.path.join(get_home(), '.character-content')


# Path: kano_profile/profile.py
import os
from kano.logging import logger
from kano.utils import (read_json, write_json, get_date_now, ensure_dir,
                        chown_path, get_user_unsudoed, run_bg, is_running,
                        list_dir)
from .paths import profile_file, profile_dir, kanoprofile_dir, bin_dir
from kano_avatar.paths import AVATAR_DEFAULT_LOC

    subcat = 'judoka'
    item = {
        'judoka-accessories': 'judoka-accessories-none',
        'judoka-belts': 'Belt_Orange',
        'judoka-faces': 'Face_Happy',
        'judoka-hair': 'Hair_Black',
        'judoka-hats': 'judoka-hats-none',
        'judoka-headwear': 'judoka-headwear-none',
        'judoka-scarves': 'judoka-scarves-none',
        'judoka-skins': 'Skin_Orange',
        'judoka-stickers': 'Sticker_Code',
        'judoka-suits': 'Suit_White',
    }
    return subcat, item


def get_avatar_circ_image_path():
    """ Returns a full path to the file that contains the asset that is being
    used as the icon stamp on the desktop. To do this, assuming the version of
    the profile structure is correct, it looks into the default avatar asset
    folder for a file with the suffix '_circ_ring.png'.
    In case of error the string that is returned is empty
    :returns: Path to circular image to be used as icon stamp
    :rtype: string
    """
    profile = load_profile()
    if 'version' not in profile or profile['version'] == 1:
        logger.error("Version field not existent or is less than 2")
        return ''
    elif profile['version'] == 2:

        direc = AVATAR_DEFAULT_LOC