in utils.py [0:0]
def wait_until_synced(from_path, to_path): while True: if check_identical(from_path, to_path): break else: time.sleep(5)