From 185ae4ebff160fc77e758fd644cba8fe04b86e48 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 Former-commit-id: aceb7e080b29fedf9e8a52ab052af32450491b88 [formerly c31a5a166499a8ad1b3766c1e26b7780eade127b] Former-commit-id: 9844be47e81146aff688e7e1c8462ffc147ab29d --- 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