Update unit tests for testing linux behavior
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ def open_directory(path: str) -> None:
|
||||
raise RuntimeError("xdg-open is required to open directories")
|
||||
subprocess.Popen([opener, path])
|
||||
|
||||
# NOTE: Creates link to windows junction for torrent ?
|
||||
# NOTE: If windows, creates ntfs junction , else , creates symlink
|
||||
def create_directory_link(link: str, target: str) -> None:
|
||||
if sys.platform == "win32":
|
||||
flags = getattr(subprocess, "CREATE_NO_WINDOW", 0)
|
||||
|
||||
Reference in New Issue
Block a user