diff --git a/tuned/profiles/functions/functions.py b/tuned/profiles/functions/functions.py index acf7077..aa8359b 100644 --- a/tuned/profiles/functions/functions.py +++ b/tuned/profiles/functions/functions.py @@ -27,7 +27,7 @@ class Functions(): self._esc = False def _curr_char(self): - return self._str[self._cnt] + return self._str[self._cnt] if self._cnt < self._len else "" def _curr_substr(self, _len): return self._str[self._cnt:self._cnt + _len]