Error with function call

This commit is contained in:
2017-06-18 21:49:58 -06:00
parent 17b89748e1
commit d5ea7a6bbb

View File

@@ -3,7 +3,7 @@
# @Author: KevinMidboe
# @Date: 2017-04-05 18:40:11
# @Last Modified by: KevinMidboe
# @Last Modified time: 2017-06-18 21:47:48
# @Last Modified time: 2017-06-18 21:49:33
import os.path, hashlib, time, glob, sqlite3, re, json, tweepy
import logging
from functools import reduce
@@ -95,7 +95,7 @@ class strayEpisode(object):
subtitlePath = os.path.join([env.show_dir, self.parent, subFile])
except TypeError:
# TODO don't get a list in subtitlePath
return removeUploadSign(subFile)
return self.removeUploadSign(subFile)
f = open(subtitlesPath, 'r', encoding='ISO-8859-15')
language = detect(f.read())
f.close()