working version. something wrong with icons
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
def save_to_file(
|
||||
thing: str | dict,
|
||||
path: str,
|
||||
):
|
||||
if isinstance(thing, dict):
|
||||
pass
|
||||
elif isinstance(thing, str):
|
||||
with open(path, "w") as outputfile:
|
||||
outputfile.write(thing)
|
||||
Reference in New Issue
Block a user