# pylint: disable-msg=C0301
class Input(object):
- def get_st_par(self, ui):
- self.st_dir, self.st_cnt = ui.get()
+ def get_st_par(self):
+ self.st_dir, self.st_cnt = self.ui.get()
return self.st_dir, self.st_cnt
def __init__(self, cur_ui):
if cur_ui is 'console':
- from optpaser import OptParser
- self.get_st_par(OptParser)
+ from optparser import OptParser
+ self.ui = OptParser()
+ self.get_st_par()