Skip to content

Commit

Permalink
Merge pull request #723 from Sjoerd1993/Remove-filename-from-subtitle
Browse files Browse the repository at this point in the history
Remove filename from subtitle
  • Loading branch information
cmkohnen committed Jan 11, 2024
2 parents 5661049 + c1030ac commit 0f12bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def project_path(self) -> str:
if self.project_file is None:
return _("Draft")
uri_parse = urlparse(self.project_file.get_uri())
filepath = os.path.realpath(
filepath = os.path.dirname(
os.path.join(uri_parse.netloc, unquote(uri_parse.path)))
if filepath.startswith("/var"):
# Fix for rpm-ostree distros, where home is placed in /var/home
Expand Down

0 comments on commit 0f12bf4

Please sign in to comment.