diff --git a/rcon/readline.py b/rcon/readline.py index 6938afc..db75bc5 100644 --- a/rcon/readline.py +++ b/rcon/readline.py @@ -22,7 +22,7 @@ if name == 'posix': def __enter__(self): try: - read_history_file() + read_history_file(HIST_FILE) except FileNotFoundError: self.logger.warning('Could not find history file: %s', HIST_FILE)