Simplify running module to fix stdout buffering issue with supervisor.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
# Import main program.
|
||||
from .video_looper import main
|
||||
|
||||
|
||||
|
@@ -214,7 +214,7 @@ class VideoLooper(object):
|
||||
|
||||
|
||||
# Main entry point.
|
||||
def main():
|
||||
if __name__ == '__main__':
|
||||
print('Starting Adafruit Video Looper.')
|
||||
# Default config path to /boot.
|
||||
config_path = '/boot/video_looper.ini'
|
||||
|
Reference in New Issue
Block a user