1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 04:46:58 -05:00
fHDHR_NextPVR/alternative_epg/__init__.py
2021-01-21 15:20:28 -05:00

8 lines
248 B
Python

import os
alt_epg_top_dir = os.path.dirname(__file__)
for entry in os.scandir(alt_epg_top_dir):
if entry.is_dir() and not entry.is_file() and entry.name[0] != '_':
imp_string = "from .%s import *" % entry.name
exec(imp_string)