We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad3aacd commit 64ee9e2Copy full SHA for 64ee9e2
1 file changed
src/window.py
@@ -687,7 +687,15 @@ def bulk_compress(self, destination_dir: str) -> None:
687
688
if host_path:
689
home_path = GLib.get_home_dir()
690
- displayed_dest_path = host_path.replace(home_path, '~')
+
691
+ if host_path[:len(home_path)] == home_path:
692
+ displayed_dest_path = host_path.replace(
693
+ home_path,
694
+ '~',
695
+ 1
696
+ )
697
+ else:
698
+ displayed_dest_path = host_path
699
else:
700
displayed_dest_path = dest_file.get_path()
701
0 commit comments