chineseocr / darknet-ocr

darknet text detect and darknet cnn ocr
MIT License
1.14k stars 285 forks source link

path = self.directory AttributeError: 'StaticApp' object has no attribute 'directory' #8

Open bihuman opened 5 years ago

bihuman commented 5 years ago

Python version 3.7.1, web.py==0.40.dev0 problem I got this problem above,

temporary solution open this file lib/site-packages/web/httpserver.py

Add: self.directory = os.getcwd() After: self.start_response = start_response