Skip to content

Commit

Permalink
Fixing eject and notify indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
carrigan98 committed Oct 30, 2015
1 parent ac132f7 commit a680cf7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions autorippr.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,20 +202,20 @@ def rip(config):
dbvideo,
"MakeMKV failed to rip video"
)

if config['notification']['smtp_enable'] and 'rip' in config['notification']['smtp_state']:
notify.rip_complete(dbvideo)

if config['makemkv']['eject']:
eject(config, dvd['location'])

else:
log.info("No video titles found")
log.info("Try decreasing 'minLength' in the config and try again")

else:
log.info("Video folder %s already exists" % disc_title)


if config['notification']['smtp_enable'] and 'rip' in config['notification']['smtp_state']:
notify.rip_complete(dbvideo)

if config['makemkv']['eject']:
eject(config, dvd['location'])

else:
log.info("Could not find any DVDs in drive list")

Expand Down

0 comments on commit a680cf7

Please sign in to comment.