1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-23 16:22:45 +00:00
mylar/sabnzbd/ComicRN.py

15 lines
311 B
Python
Raw Normal View History

#!/usr/bin/env python
import sys
import autoProcessComics
if len(sys.argv) < 2:
print "No folder supplied - is this being called from SABnzbd?"
sys.exit()
elif len(sys.argv) >= 3:
autoProcessComics.processEpisode(sys.argv[1], sys.argv[3])
else:
autoProcessComics.processEpisode(sys.argv[1])