From 112cca4edfd92bf5dd547f3ee6bd272b5a0e5af5 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 28 Jan 2024 22:13:38 -0500 Subject: Get files in current directory instead of parent directory --- subsync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subsync.py b/subsync.py index 60041e1..dc11c1c 100644 --- a/subsync.py +++ b/subsync.py @@ -12,7 +12,9 @@ from multiprocessing import Pool import chardet os.chdir(os.path.dirname(os.path.realpath(__file__))) -os.chdir('..') + +# Enable this to get files in the parent directory instead of the current directory. +# os.chdir('..') class mopen: -- cgit v1.2.3