Update E-Paper.py

This commit is contained in:
Ace 2019-02-16 00:13:59 +01:00 committed by GitHub
parent de9292b525
commit ede448c7c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,13 +235,6 @@ def main():
for dates in range(len(upcoming)): for dates in range(len(upcoming)):
write_text(70, 25, (upcoming[dates]['date']), date_positions['d'+str(dates+1)]) write_text(70, 25, (upcoming[dates]['date']), date_positions['d'+str(dates+1)])
for events in range(len(upcoming)):
write_text_left(314, 25, (upcoming[events]['event']), event_positions['e'+str(events+1)])
"""Write event dates and names on the E-Paper"""
for dates in range(len(upcoming)):
write_text(70, 25, (upcoming[dates]['date']), date_positions['d'+str(dates+1)])
for events in range(len(upcoming)): for events in range(len(upcoming)):
write_text_left(314, 25, (upcoming[events]['event']), event_positions['e'+str(events+1)]) write_text_left(314, 25, (upcoming[events]['event']), event_positions['e'+str(events+1)])