Skip to content

Commit

Permalink
Fix incorrect directory when removing profile
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyHaystack committed Nov 7, 2019
1 parent 82a75a2 commit d733108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions i3_resurrect/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ def remove(workspace, directory, profile, target):
Remove saved layout or programs.
"""
if profile is not None:
directory = Path(directory) / 'profiles'
programs_filename = f'{profile}_programs.json'
layout_filename = f'{profile}_layout.json'
elif workspace is not None:
Expand Down

0 comments on commit d733108

Please sign in to comment.