Skip to content

Commit

Permalink
Fix test to disable bot permanently
Browse files Browse the repository at this point in the history
  • Loading branch information
Wason1797 committed Oct 7, 2024
1 parent 7cbeda2 commit b769efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def main() -> None:
asyncio.get_running_loop().add_signal_handler(signal.SIGINT, lambda: sys.exit(0))
try:
main_coap_context.serversite = server
if EnvManager.is_main_server() and False: # Only one instance of the bot can run at the time
if EnvManager.is_main_server(): # Only one instance of the bot can run at the time
await ManagementBot.start_polling()

await asyncio.get_running_loop().create_future()
Expand Down

0 comments on commit b769efd

Please sign in to comment.