paths : make TimeoutExpired handling clearer
This commit is contained in:
@@ -73,9 +73,9 @@ class PathsManager:
|
||||
try:
|
||||
paths = self.user_select_files()
|
||||
break
|
||||
except subprocess.TimeoutExpired:
|
||||
except subprocess.TimeoutExpired as e:
|
||||
if input("Timeout expired do you want to retry (y/n): ") != "y":
|
||||
raise
|
||||
raise e
|
||||
self.write_new_paths(paths)
|
||||
|
||||
def get_paths_to_sync(self) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user