This commit is contained in:
robert 2024-02-01 07:38:48 +00:00
parent 21873df860
commit bf13bd234a

View File

@ -1,11 +1,11 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding:utf-8 -*- # -*- coding:utf-8 -*-
import sys #import sys
import os #import os
picdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'pic') #picdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'pic')
libdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'lib') #libdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'lib')
if os.path.exists(libdir): #if os.path.exists(libdir):
sys.path.append(libdir) # sys.path.append(libdir)
import logging import logging
from waveshare_epd import epd2in13b_V3 from waveshare_epd import epd2in13b_V3