Closed metaMMA closed 4 years ago
Still need to amend update.py EDIT: done
This isn't working for me @metaMMA
$ export DISPLAY=:0 $ /usr/bin/python3 /home/pi/PiWeatherRock/weather.py pygame 1.9.6 Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "/home/pi/PiWeatherRock/weather.py", line 806, in <module> MY_DISP = MyDisplay() File "/home/pi/PiWeatherRock/weather.py", line 192, in __init__ self.log = get_logger() File "/home/pi/PiWeatherRock/weather.py", line 168, in get_logger handler = logging.handlers.RotatingFileHandler( AttributeError: module 'logging' has no attribute 'handlers'
Copy and paste error on my part. I missed the last standard import: import logging.handlers
.
.log
file in root directory instead of syslog