HenryHu / pybbs

Python implementation of the BBS server, providing BBS data interface
Other
28 stars 3 forks source link

[Bug Report] Server Error on Mail Content Request #20

Closed mrroach9 closed 11 years ago

mrroach9 commented 11 years ago

Failed on any mail content request, error code as follows: Traceback (most recent call last): File "/home/bbs/pybbs/datasvc.py", line 165, in do_GET DataService.classes[cls].GET(self, session, params, op) File "/home/bbs/pybbs/mail.py", line 23, in GET svc.writedata(Mail.View(session.GetUser(), folder, index)) File "/home/bbs/pybbs/mail.py", line 94, in View info = dict(entry.GetInfo().items() + post.GetInfo().items())TypeError: GetInfo() takes exactly 3 arguments (1 given)

HenryHu commented 11 years ago

Fixed. Also, new arguments start & count available for mail/view.