diff options
| author | Xe <me@christine.website> | 2022-01-02 17:17:51 -0500 |
|---|---|---|
| committer | Xe <me@christine.website> | 2022-01-02 17:21:09 -0500 |
| commit | 23629ade4577ab1fc1da741185c6d791549295d5 (patch) | |
| tree | f8032beee39613e4092ca6ef8ef531f354f94cac /src | |
| parent | a77347063fa79ce1e9872747b00e285650d62fd3 (diff) | |
| download | xesite-23629ade4577ab1fc1da741185c6d791549295d5.tar.xz xesite-23629ade4577ab1fc1da741185c6d791549295d5.zip | |
VRChat Avatar to VRM
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'src')
| -rw-r--r-- | src/post/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/post/mod.rs b/src/post/mod.rs index 6e629ab..750d022 100644 --- a/src/post/mod.rs +++ b/src/post/mod.rs @@ -82,6 +82,12 @@ impl Post { } async fn read_post(dir: &str, fname: PathBuf, cli: &Option<mi::Client>) -> Result<Post> { + debug!( + "loading {}/{}", + dir, + fname.clone().into_os_string().into_string().unwrap() + ); + let body = fs::read_to_string(fname.clone()) .await .wrap_err_with(|| format!("can't read {:?}", fname))?; |
