Fixed slight bug with unused method

This commit is contained in:
Boyan 2024-11-17 21:52:11 +01:00
parent 6a63abf7ae
commit 2378be4d42

View File

@ -79,6 +79,6 @@ class Submission:
def get_files(self) -> list[str] | None: def get_files(self) -> list[str] | None:
"""Get a list of uploaded files in the format [(name, url)]""" """Get a list of uploaded files in the format [(name, url)]"""
if not self.__info: if not self.__info:
self.__info = self.info() self.__info = self.get_info()
return self.__info.get("files", None) return self.__info.get("files", None)