fixing for pylint and pep8 recommendatins
This commit is contained in:
parent
ca4c95219a
commit
0e3e1a2b14
7 changed files with 317 additions and 184 deletions
19
libtvshow.py
19
libtvshow.py
|
|
@ -5,15 +5,22 @@ Created on Sat Jul 6 20:26:22 2013
|
|||
@author: shanef
|
||||
"""
|
||||
|
||||
|
||||
class TVShow(object):
|
||||
def __init__(self, episode, season, title, subtitle, description, inputFile='', outputFile=''):
|
||||
"""
|
||||
Describes the details of a tv episode
|
||||
"""
|
||||
|
||||
def __init__(self, episode, season, title, subtitle, description,
|
||||
inputfile='', outputfile=''):
|
||||
self.episode = str(episode)
|
||||
self.season = str(season)
|
||||
self.title = title
|
||||
self.subtitle = subtitle
|
||||
self.description = description
|
||||
self.inputFile = inputFile
|
||||
self.outputFile = outputFile
|
||||
|
||||
def Print(self):
|
||||
print "Input: {0} -> Output: {1}".format(self.inputFile, self.outputFile)
|
||||
self.inputfile = inputfile
|
||||
self.outputfile = outputfile
|
||||
|
||||
def __str__(self):
|
||||
return "Input: {0} -> Output: {1}".format(self.inputfile,
|
||||
self.outputfile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue