MCPcopy Create free account
hub / github.com/geekcomputers/Python / validateChooseValue

Method validateChooseValue

CliYoutubeDownloader.py:32–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.validateChooseValue()
31
32 def validateChooseValue(self):
33 if self.choose in range(1, self.streamNo):
34 self.getStream()
35 else:
36 print("please enter a currect option on the list.")
37 self.chooseStream()
38
39 def getStream(self):
40 self.stream = self.youtube.streams[self.choose - 1]

Callers 1

chooseStreamMethod · 0.95

Calls 2

getStreamMethod · 0.95
chooseStreamMethod · 0.95

Tested by

no test coverage detected