From 816aec9408dab34f24466d9494432a525e9ec5ef Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Sat, 28 Jan 2023 13:05:57 +0100 Subject: [PATCH] Use / operator to join paths --- rcon/readline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcon/readline.py b/rcon/readline.py index 0eeef7d..c354ff8 100644 --- a/rcon/readline.py +++ b/rcon/readline.py @@ -12,7 +12,7 @@ except ModuleNotFoundError: __all__ = ['CommandHistory'] -HIST_FILE = Path.home().joinpath('.rconshell_history') +HIST_FILE = Path.home() / '.rconshell_history' class CommandHistory: