diff options
Diffstat (limited to 'datastore-leveldb/src/db.cpp')
-rw-r--r-- | datastore-leveldb/src/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datastore-leveldb/src/db.cpp b/datastore-leveldb/src/db.cpp index 991a82e..e307535 100644 --- a/datastore-leveldb/src/db.cpp +++ b/datastore-leveldb/src/db.cpp @@ -14,7 +14,7 @@ static bool sensor_name_is_sane(std::string& name) { if (not ((*it >= '0' and *it <= '9') or (*it >= 'A' and *it <= 'Z') or (*it >= 'a' and *it <= 'z') or - (*it == '.'))) { + (*it == '.') or (*it == '_'))) { return false; } } |