From c31a5a166499a8ad1b3766c1e26b7780eade127b Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Tue, 11 Oct 2022 09:28:13 -0400 Subject: [PATCH] Move a rarely used import statement closer to where it's needed in sshync --- lib/sshync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sshync.py b/lib/sshync.py index 4618210..c223200 100755 --- a/lib/sshync.py +++ b/lib/sshync.py @@ -4,13 +4,13 @@ from os import path, system, walk from os.path import expanduser, getmtime, join -from pathlib import Path from sys import exit as s_exit # utility functions def get_titles_mods(_directory, _destination, _user_data): # fetches and returns lists of titles and their mod times + from pathlib import Path _title_list, _mod_list = [], [] Path(path.expanduser('~/.config/sshync')).mkdir(0o700, parents=True, exist_ok=True) # create config directory # local fetching