Browse Source

Remove __slots__

This optimization is not needed
pull/20/head
Richard Neumann 2 years ago
parent
commit
b29f80a6f5
  1. 2
      rcon/readline.py

2
rcon/readline.py

@ -18,8 +18,6 @@ HIST_FILE = Path.home().joinpath('.rconshell_history')
class CommandHistory:
"""Context manager for the command line history."""
__slots__ = ('logger', 'file')
def __init__(self, logger: Logger, file: Path = HIST_FILE):
"""Set the logger to use."""
self.logger = logger

Loading…
Cancel
Save