diff --git a/title.py b/title.py index 4bc0a66..08bfc9f 100644 --- a/title.py +++ b/title.py @@ -107,8 +107,7 @@ class Ticket: open(fn, "wb").write(self.tik.pack()) return fn def __len__(self): - sz = len(self.tik) - return sz + return len(self.tik) class TMD: """This class allows you to edit TMDs. TMD (Title Metadata) files are used in many places to hold information about titles. The parameter f to the initialization is the filename to open and create a TMD from.""" @@ -463,4 +462,4 @@ class WAD: out += str(Ticket(rawtik)) out += str(TMD(rawtmd)) - return out \ No newline at end of file + return out