Hacker News new | ask | show | jobs
by tubelite 4276 days ago
This is a new bug. I'm guessing it got exposed because you have a 32-bit machine, and I've been testing so far on 64-bit. Edit line 404 of psty.py as follows:

  -            self.send_header("Last-Modified", self.date_time_string(entry["mtime"]))
  +            self.send_header("Last-Modified", self.date_time_string(entry["mtime"] / 1000))
If it still doesn't work, maybe we can continue the conversation on the google groups forum?
1 comments

I have a 64-bit machine but your fix works great :-)

Thanks for this, and thanks for sharing your amazing pigshell!