Skip to content

Commit

Permalink
Fix different /tmp filesystem error
Browse files Browse the repository at this point in the history
  • Loading branch information
adespawn committed Feb 21, 2024
1 parent 2d95380 commit e3dff0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sinol_make/commands/init/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import argparse
import os
import shutil
import subprocess
import tempfile

Expand Down Expand Up @@ -44,7 +45,7 @@ def move_folder(self):
dest_filename = file
if file[:3] == 'abc':
dest_filename = self.task_id + file[3:]
os.replace(os.path.join(root, file), os.path.join(mapping[root], dest_filename))
shutil.move(os.path.join(root, file), os.path.join(mapping[root], dest_filename))

def update_config(self):
with open(os.path.join(os.getcwd(), 'config.yml')) as config:
Expand Down

0 comments on commit e3dff0c

Please sign in to comment.