2012-10-30 10:43:01 +00:00
|
|
|
#!/usr/bin/env python
|
2012-09-13 15:27:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import sys
|
2012-10-30 10:43:01 +00:00
|
|
|
import autoProcessComics
|
2012-09-13 15:27:34 +00:00
|
|
|
|
2012-10-30 10:43:01 +00:00
|
|
|
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])
|
2012-09-13 15:27:34 +00:00
|
|
|
else:
|
2012-10-30 10:43:01 +00:00
|
|
|
autoProcessComics.processEpisode(sys.argv[1])
|