From 5906e7682a5e0ca17c39d7d043f8cb20d45acbcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Pr=C3=A4ntare?= <prantare@live.se> Date: Fri, 31 Aug 2018 16:08:46 +0200 Subject: [PATCH] Update main.py --- main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.py b/main.py index 7a8bd4e..e74f03c 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,6 @@ import os from library import * - class MyAgent(IDABot): def __init__(self): IDABot.__init__(self) @@ -13,7 +12,6 @@ class MyAgent(IDABot): def on_step(self): IDABot.on_step(self) - def main(): coordinator = Coordinator() bot1 = MyAgent() @@ -33,6 +31,5 @@ def main(): while coordinator.update(): pass - if __name__ == "__main__": - main() + main() \ No newline at end of file -- GitLab