fixed a decoding bug

removed the UTF-8 part from icalendar parsing process
This commit is contained in:
Ace 2018-12-25 00:18:02 +01:00 committed by GitHub
parent 4a41b9258c
commit d127d88abd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ if display_colours == "bw":
epd = epd7in5.EPD() epd = epd7in5.EPD()
from calibration_bw import calibration from calibration_bw import calibration
c = Calendar(urlopen(url).read().decode('UTF-8')) c = Calendar(urlopen(url).read().decode())
e = Event() e = Event()
EPD_WIDTH = 640 EPD_WIDTH = 640
EPD_HEIGHT = 384 EPD_HEIGHT = 384