fix: make bot initializable without recorder
This commit is contained in:
@@ -27,7 +27,8 @@ def main():
|
||||
|
||||
app: QApplication = QApplication(sys.argv)
|
||||
recorder: RecorderWindow = RecorderWindow("localhost", 5000)
|
||||
bot: ExampleBot = ExampleBot(recorder)
|
||||
bot: ExampleBot = ExampleBot()
|
||||
bot.set_recorder(recorder)
|
||||
|
||||
app.aboutToQuit.connect(recorder.shutdown)
|
||||
recorder.register_bot(bot)
|
||||
|
||||
Reference in New Issue
Block a user