Skip to content

Commit

Permalink
remove keys from YouTube.key file
Browse files Browse the repository at this point in the history
  • Loading branch information
Taapat committed Mar 27, 2020
1 parent 6550219 commit 755aeb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions YouTube.key
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
API_KEY=AIzaSyAdQSszDK7HiOB35y11sXziipcQUVMOtsQ
YOUTUBE_API_CLIENT_ID=411447027255-vbgs05u1o3m8mpjs2vcd04afrg60drba.apps.googleusercontent.com
YOUTUBE_API_CLIENT_SECRET=zMFz_cFY0bZaOF8HX8oavPWv
API_KEY=
YOUTUBE_API_CLIENT_ID=
YOUTUBE_API_CLIENT_SECRET=
2 changes: 1 addition & 1 deletion src/YouTubeUi.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
try:
for line in open('/etc/enigma2/YouTube.key').readlines():
line = line.strip().replace(' ','')
if len(line) < 20 or line[0] == '#' or '=' not in line:
if len(line) < 30 or line[0] == '#' or '=' not in line:
continue
line = line.split('=',1)
if 'API_KEY' in line[0]:
Expand Down

0 comments on commit 755aeb4

Please sign in to comment.