Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot0122 committed Dec 7, 2023
1 parent e6e7520 commit 4bf24a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def update_resume():
if category == 'profile':
with open(f"{target_dir_info}/{category}.json", "w") as json_file:
json.dump(source_dir[category], json_file, indent=4)
else if category == 'picture':
elif category == 'picture':
filename = email + ".png"
file_path = os.path.join(app.config['UPLOAD_FOLDER'], filename)
file = pickle.loads(source_dir[category])
Expand Down

0 comments on commit 4bf24a4

Please sign in to comment.