diff --git a/main.py b/main.py index b6f983a..2570422 100644 --- a/main.py +++ b/main.py @@ -26,8 +26,14 @@ if remoteOn is True: t = os.path.getmtime(local_path + file) age = (time.time() - t) / 86400 if age >= 1: - shutil.move(local_path + file, remote_path + file) - logging.info('-- Moved %s', file) + if file.startswith('kitty'): + # shutil.move(local_path + file, remote_path + 'Kitty/' + file) + print('Kitty File ' + local_path + file, remote_path + 'Kitty/' + file) + # logging.info('-- Moved Kitty file %s', file) + else: + # shutil.move(local_path + file, remote_path + file) + print('Normal File ' + local_path + file, remote_path + 'Kitty/' + file + # logging.info('-- Moved %s', file) for file in os.listdir(remote_path): t = os.path.getmtime(remote_path + file) age = (time.time() -t) / 86400