From 74cddba46316441dcf0fe2dc8d53bcf327475b87 Mon Sep 17 00:00:00 2001 From: Nicholas Hope Date: Tue, 9 Aug 2022 19:09:46 -0400 Subject: [PATCH] Unneccessary os.path.expanduser() --- src/tfscript/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tfscript/cli.py b/src/tfscript/cli.py index 85b48ae..fe0f508 100644 --- a/src/tfscript/cli.py +++ b/src/tfscript/cli.py @@ -178,7 +178,7 @@ def main(): targetDir += "steamapps/common/Team Fortress 2/tf/cfg" elif args.force: # Unsupported OS but -f specified - targetDir = os.path.expanduser('.') + targetDir = '.' else: # Unsupported OS and not forced to continue return 2