Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Belfagor2005 committed Oct 2, 2024
1 parent ea2260c commit 54b0c31
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
from os.path import exists as file_exists
from random import choice
from requests.adapters import HTTPAdapter, Retry
from six import text_type as unicode
import codecs
import json
import os
Expand All @@ -97,15 +98,11 @@
except:
sslContext = None


if PY2:
import codecs
open_func = codecs.open
str_type = unicode
str = unicode
else:
unicode = str
open_func = open
str_type = str


if PY2:
import io
Expand Down

0 comments on commit 54b0c31

Please sign in to comment.