finish impl for quicksave
This commit is contained in:
parent
ceb812565f
commit
0acf870f6c
1 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
import os
|
||||
import shlex
|
||||
import tempfile
|
||||
import shutil
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from .utils import load_file_path
|
||||
|
@ -40,9 +42,10 @@ class Interpreter:
|
|||
except (IndexError, ValueError):
|
||||
continue
|
||||
|
||||
# create our next glitched iteration
|
||||
glitched_path = parent_folder / f'{name}_g{index + 1}.raw'
|
||||
print(glitched_path)
|
||||
# create our next glitched path
|
||||
out_path = shutil.copyfile(
|
||||
self.loaded_path, parent_folder / f'{name}_g{index + 1}.raw')
|
||||
print('saved to', out_path)
|
||||
|
||||
|
||||
def run(self, line: str):
|
||||
|
|
Loading…
Reference in a new issue