From 94647bbb5712dd3d25595c92a5592b7ae56f192d Mon Sep 17 00:00:00 2001 From: Mythin Date: Mon, 9 Sep 2013 23:08:49 -0700 Subject: [PATCH] Fix the variable passed to the getImdb method --- couchpotato/core/plugins/scanner/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/scanner/main.py b/couchpotato/core/plugins/scanner/main.py index 188924a..3221ac7 100644 --- a/couchpotato/core/plugins/scanner/main.py +++ b/couchpotato/core/plugins/scanner/main.py @@ -565,7 +565,7 @@ class Scanner(Plugin): if not imdb_id: try: for nf in files['nfo']: - imdb_id = getImdb(nfo_file) + imdb_id = getImdb(nf) if imdb_id: log.debug('Found movie via nfo file: %s', nf) nfo_file = nf