Skip to content

Commit

Permalink
Update epg_refresh.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s3n0 authored Oct 26, 2022
1 parent a3aedba commit 76c5750
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions epg_refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
from urllib2 import urlopen
from os.path import getsize as os_path_getsize

with open('/etc/enigma2/lamedb', 'r') as f:
LAME_DB = f.read().split('services')[2].splitlines()

###############################################

def writeLOG(msg):
Expand Down Expand Up @@ -84,6 +81,9 @@ def findChannelName(src='0:0:0:0:0:0:0:0:0:0:'):

if __name__ == "__main__" and enigmaInStandby():

with open('/etc/enigma2/lamedb', 'r') as f:
LAME_DB = f.read().split('services')[2].splitlines()

bouquet_SRC = []
for fname in BOUQUET_FILES:
with open('/etc/enigma2/' + fname, 'r') as f:
Expand Down

0 comments on commit 76c5750

Please sign in to comment.