Permalink
Browse files

Remove deluge front end code & tidied up entry point

Need to revisit this in #24
  • Loading branch information...
1 parent e3addbc commit a316add401dc335ce7754564b54d986e6aa457f3 @ghickman committed May 26, 2012
Showing with 1 addition and 13 deletions.
  1. +1 −13 tvrenamr/frontend.py
View
14 tvrenamr/frontend.py
@@ -173,18 +173,6 @@ def _stop_dry_run(self):
log.log(26, '')
-def run():
- # Need to capture the Deluge arguments here, before we enter rename so
- # we can instead pass it as a callback to be called once we've fetched
- # the required information from deluge.
- if options.deluge or options.deluge_ratio:
- if options.deluge and not options.deluge_ratio:
- options.deluge_ratio = 0
- from lib.filter_deluge import get_deluge_ignore_file_list
- get_deluge_ignore_file_list(rename, options.deluge_ratio, args[0])
- else:
- FrontEnd(args)
-
if __name__ == "__main__":
- run()
+ frontend = FrontEnd(args)

0 comments on commit a316add

Please sign in to comment.