removed binary files and a unnecessary sleep

This commit is contained in:
Joel Kåberg 2013-02-25 11:34:05 +01:00
commit 5cecfac776
4 changed files with 1 additions and 4 deletions

View file

@ -429,7 +429,6 @@ elif failed_extract == 1 and failed_link == 0: #failed to extract files only.
else: else:
Logger.info("MAIN: Something failed! Please check logs. Exiting") Logger.info("MAIN: Something failed! Please check logs. Exiting")
sys.exit(-1) sys.exit(-1)
# Now we pass off to CouchPotato or Sick-Beard # Now we pass off to CouchPotato or Sick-Beard
# Log this output # Log this output
old_stdout = sys.stdout # Still crude, but we wat to capture this for now old_stdout = sys.stdout # Still crude, but we wat to capture this for now
@ -442,7 +441,7 @@ if inputHash and useLink:
Logger.debug("MAIN: We are using hardlinks with uTorrent, calling uTorrent to pause download") Logger.debug("MAIN: We are using hardlinks with uTorrent, calling uTorrent to pause download")
utorrentClass = UTorrentClient(uTorrentWEBui, uTorrentUSR, uTorrentPWD) utorrentClass = UTorrentClient(uTorrentWEBui, uTorrentUSR, uTorrentPWD)
utorrentClass.stop(inputHash) utorrentClass.stop(inputHash)
time.sleep(10) time.sleep(5)
if inputCategory == movieCategory: if inputCategory == movieCategory:
Logger.info("MAIN: Calling postprocessing script for CouchPotatoServer") Logger.info("MAIN: Calling postprocessing script for CouchPotatoServer")
@ -455,7 +454,5 @@ elif inputCategory == tvCategory:
if inputHash and useLink: if inputHash and useLink:
Logger.debug("MAIN: We are using hardlinks with uTorrent, calling uTorrent to resume download") Logger.debug("MAIN: We are using hardlinks with uTorrent, calling uTorrent to resume download")
utorrentClass.start(inputHash) utorrentClass.start(inputHash)
time.sleep(10)
sys.stdout = old_stdout sys.stdout = old_stdout
log_file.close() log_file.close()

Binary file not shown.

Binary file not shown.

Binary file not shown.