Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

IndexError: list index out of range #42

@randomsnippets

Description

@randomsnippets

My Code:

from python_aternos import Client

aternos = Client.from_credentials('USERNAME', 'PASSWORD')
servs = aternos.list_servers()
myserv = servs[0]

myserv.start()

Error:

Traceback (most recent call last):
  File "C:\Users\User\Desktop\test.py", line 5, in <module>
    myserv = servs[0]
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions