From db03d8debf4fec7bc7ce1a4263d9a18475946aec Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Fri, 25 Aug 2023 20:28:22 +0200 Subject: [PATCH] du command incorrect, host instead of path --- transatlanticTorrentExpress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transatlanticTorrentExpress.py b/transatlanticTorrentExpress.py index a969b64..57d79cd 100755 --- a/transatlanticTorrentExpress.py +++ b/transatlanticTorrentExpress.py @@ -48,7 +48,7 @@ class File(): cmd = "du -hs '{}'".format(filePath) if self.system.remote: - cmd = 'ssh {}@{} {}'.format(self.system.user, self.system.path, cmd) + cmd = 'ssh {}@{} {}'.format(self.system.user, self.system.host, cmd) diskusageOutput = check_output(cmd, shell=True)