mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-25 01:06:05 +03:00
Expanduser journal path
This commit is contained in:
1 parent
b0b9113e51
commit
9c600bf847
1 file changed
+1
-1
+1
-1
@@ -55,7 +55,7 @@ class JournalLock:
|
||||
|
||||
else:
|
||||
try:
|
||||
self.journal_dir_path = pathlib.Path(self.journal_dir)
|
||||
self.journal_dir_path = pathlib.Path.expanduser(pathlib.Path(self.journal_dir))
|
||||
|
||||
except Exception: # pragma: no cover
|
||||
logger.exception("Couldn't make pathlib.Path from journal_dir")
|
||||
|
||||
Reference in new issue
Block a user