Skip to content

Commit

Permalink
Rename self._getItems to self.get_items
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Jun 17, 2021
1 parent ff13266 commit 89e3ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webqueue2api/parser/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ def __init__(self, name: str) -> None:
if not self.path.exists():
raise QueueDoesNotExistError(str(self.path))

self.items = self.__getItems()
self.items = self.get_items()

self.jsonData = {
"name": self.name,
"length": len(self)
}

def __getItems(self) -> list:
def get_items(self) -> list:
"""Returns a list of items for this Queue
Returns:
Expand Down

0 comments on commit 89e3ef1

Please sign in to comment.