mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
empty clear mixup
This commit is contained in:
parent
dcf0516ffc
commit
4b7e4bfbf3
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ bool RowDecompressor::get_row(std::string &row) {
|
|||
if (this->is_eof() && this->yaml_.size() > 0) {
|
||||
// no new line at the end of the file
|
||||
row = this->yaml_;
|
||||
this->yaml_.empty();
|
||||
this->yaml_.clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue