Skip to content

Commit 5ae1bf8

Browse files
committed
Fix a bug.
1 parent 59fbba5 commit 5ae1bf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

armi/utils/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,15 +848,15 @@ def safeMove(src: str, dst: str) -> None:
848848
if "win" in sys.platform:
849849
shutil.move(src, dst)
850850
elif "linux" in sys.platform:
851-
cmd = f'cp "{src}" "{dst}"'
851+
cmd = f'mv "{src}" "{dst}"'
852852
os.system(cmd)
853853
else:
854854
raise OSError(
855855
"Cannot perform ``safeMove`` on files because ARMI only supports "
856856
+ "Linux and Windows."
857857
)
858858
waitTime = 0.01 # 10 ms
859-
maxWaitTime = 60 # 1 min
859+
maxWaitTime = 6000 # 1 min
860860
totalWaitTime = 0
861861
while True:
862862
try:

0 commit comments

Comments
 (0)