Pass the output

This commit is contained in:
Dimitris Zlatanidis 2023-01-08 23:33:45 +02:00
parent db9ef8d8e9
commit eceb069bf4

View file

@ -38,7 +38,7 @@ class Downloader:
shell=True, stderr=self.stderr, stdout=self.stdout)
if output != 0:
raise SystemExit(1)
raise SystemExit(output)
def check_if_downloaded(self):
""" Checks if the file downloaded. """