Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
legnaleurc committed Dec 20, 2023
1 parent 8578e64 commit cdd78ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
import asyncio
import unicodedata
import sys
from pathlib import Path

from wcpan.drive.cli.lib import create_drive_from_config


FORM = 'NFC'
from .lib import create_default_drive


async def main():
drive_path = Path("~/.config/wcpan.drive/cli.yaml").expanduser().resolve()
async with create_drive_from_config(drive_path) as drive:
FORM = 'NFC'

async with create_default_drive() as drive:
root_node = await drive.get_root()
async for _root, folders, files in drive.walk(root_node):
node_list = folders + files
Expand Down
3 changes: 3 additions & 0 deletions drive/normalize_unicode_name.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

poetry run -- python3 -m app.normalize_unicode_name "$@"

0 comments on commit cdd78ea

Please sign in to comment.