fix truncate
This commit is contained in:
parent
bed8ae7849
commit
a4b571fc3d
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ impl PostManager for Blag {
|
|||
};
|
||||
|
||||
if self.is_raw(&name) {
|
||||
name.truncate(3);
|
||||
name.truncate(name.len() - 3);
|
||||
set.push(self.get_post(name.into(), query));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue