restoring changes

This commit is contained in:
2022-08-12 21:30:18 -05:00
parent 06b5016b90
commit d1cda2a104
3 changed files with 3 additions and 14 deletions

View File

@@ -51,11 +51,7 @@ def writetor(self, filepath='./torrentinfo.json'):
"""Write all torrent data to a file.
Useful for development of new features.
"""
json_init = self.l(self.torrentlist)
print(json_init)
# json_object = self.d(self.torrentlist, indent=4)
# with open(filepath, 'w') as fp:
# fp.write(json_object)
pass
def listfirsttor(self, index=0):
"""Only lists the first torrent"""