summaryrefslogtreecommitdiff
path: root/src/manage_saves.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/manage_saves.py')
-rw-r--r--src/manage_saves.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manage_saves.py b/src/manage_saves.py
index f57f7b8..44ce2a3 100644
--- a/src/manage_saves.py
+++ b/src/manage_saves.py
@@ -6,8 +6,10 @@ def save_theme(hex_colors, hex_compliments, wallpaper_location, save_location):
Save a theme to the disk at a specified location as a json object.
"""
+
theme = Theme(hex_colors, hex_compliments, wallpaper_location)
+
with open(save_location, 'w') as file:
json.dump(theme.toDict(), file)
print('[bold green]color palette saved successfully')