Skip to content
Snippets Groups Projects
Commit b71be23a authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Modified dataset copy warning fromprint to log

parent 266b200b
Branches
Tags
No related merge requests found
......@@ -107,7 +107,7 @@ def confirm(resp=True, timeout=15):
def input_(timeout=15):
"""used as a UI to stop if too much HDD space will be used"""
print("You have " + str(timeout) + " seconds to stop the dataset copy by typing n")
logging.warning("You have " + str(timeout) + " seconds to stop the dataset copy by typing n")
i, o, e = select.select([sys.stdin], [], [], timeout)
if i:
return sys.stdin.readline().strip()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment