Fixed clan uri. Expand user, then resolve

This commit is contained in:
Qubasa
2024-01-30 12:17:24 +07:00
parent ab91edf21f
commit 07bec607bc
3 changed files with 8 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ import argparse
import dataclasses
import datetime
import json
import logging
from typing import Any
from clan_cli.flakes.inspect import FlakeConfig, inspect_flake
@@ -12,6 +13,8 @@ from ..dirs import user_history_file
from ..errors import ClanError
from ..locked_open import read_history_file, write_history_file
log = logging.getLogger(__name__)
class EnhancedJSONEncoder(json.JSONEncoder):
def default(self, o: Any) -> Any: