return with non-zero exit status on error

This commit is contained in:
Mike Fährmann
2019-10-27 23:34:52 +01:00
parent c887493a80
commit 03e0cec715
3 changed files with 12 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import sys
import gallery_dl
if __name__ == '__main__':
gallery_dl.main()
sys.exit(gallery_dl.main())