Skip to content

Commit

Permalink
IniFile.write() filename argument does not accept Path
Browse files Browse the repository at this point in the history
Use `str()` to convert Path to str that it accepts.
  • Loading branch information
igo95862 committed Jun 8, 2024
1 parent eae3d58 commit 1af1f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bubblejail/bubblejail_directories.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def overwrite_desktop_entry_for_profile(
/ f"bubble_{instance_name}.desktop")

new_dot_desktop.write(
filename=new_dot_desktop_path
filename=str(new_dot_desktop_path)
)

# Update desktop MIME database
Expand Down

0 comments on commit 1af1f55

Please sign in to comment.