mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-23 21:08:18 +00:00
get tests passing
This commit is contained in:
parent
28fbc06ff8
commit
af0ef56d3d
@ -1,5 +1,4 @@
|
||||
"""File_system_service."""
|
||||
from _typeshed import ReadableBuffer
|
||||
from datetime import datetime
|
||||
import os
|
||||
from typing import List
|
||||
@ -87,7 +86,7 @@ class FileSystemService:
|
||||
return 0
|
||||
|
||||
@staticmethod
|
||||
def write_file_data_to_system(file_path: str, file_data: ReadableBuffer):
|
||||
def write_file_data_to_system(file_path: str, file_data):
|
||||
"""Write_file_data_to_system."""
|
||||
os.makedirs(os.path.dirname(file_path), exist_ok=True)
|
||||
with open(file_path, "wb") as f_handle:
|
||||
|
Loading…
x
Reference in New Issue
Block a user