mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 12:25:46 +01:00
PEP8 double aggressive E401
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
from __future__ import print_function
|
||||
from Components.Language import language
|
||||
from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_LANGUAGE
|
||||
import os, gettext
|
||||
import os
|
||||
import gettext
|
||||
PluginLanguageDomain = 'NeoBoot'
|
||||
PluginLanguagePath = 'Extensions/NeoBoot/locale'
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import sys, extract
|
||||
import sys
|
||||
import extract
|
||||
if len(sys.argv) < 16:
|
||||
pass
|
||||
else:
|
||||
extract.NEOBootMainEx(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5], sys.argv[6], sys.argv[7], sys.argv[8], sys.argv[9], sys.argv[10], sys.argv[11], sys.argv[12], sys.argv[13], sys.argv[14], sys.argv[15], sys.argv[16])
|
||||
extract.NEOBootMainEx(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5], sys.argv[6], sys.argv[7], sys.argv[8], sys.argv[9], sys.argv[10], sys.argv[11], sys.argv[12], sys.argv[13], sys.argv[14], sys.argv[15], sys.argv[16])
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys, os, struct, shutil
|
||||
import sys
|
||||
import os
|
||||
import struct
|
||||
import shutil
|
||||
|
||||
# ver. gutosie
|
||||
#--------------------------------------------- 2021 ---------------------------------------------#
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
from __future__ import print_function
|
||||
from Components.Language import language
|
||||
from Tools.Directories import resolveFilename, SCOPE_PLUGINS, SCOPE_LANGUAGE
|
||||
import os, gettext
|
||||
import os
|
||||
import gettext
|
||||
PluginLanguageDomain = 'NeoBoot'
|
||||
PluginLanguagePath = 'Extensions/NeoBoot/locale'
|
||||
|
||||
|
||||
@@ -29,7 +29,8 @@ import fileinput
|
||||
import re
|
||||
import os
|
||||
from Screens.VirtualKeyBoard import VirtualKeyBoard
|
||||
import gettext, os
|
||||
import gettext
|
||||
import os
|
||||
from Plugins.Extensions.NeoBoot.files.stbbranding import getTunerModel
|
||||
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
||||
|
||||
|
||||
@@ -37,7 +37,8 @@ from Plugins.Extensions.NeoBoot.files.stbbranding import fileCheck, getNeoLocati
|
||||
import os
|
||||
import time
|
||||
import sys
|
||||
import struct, shutil
|
||||
import struct
|
||||
import shutil
|
||||
if fileExists('/etc/vtiversion.info') or fileExists('/etc/bhversion') or fileExists('/usr/lib/python3.8') and fileExists('/.multinfo'):
|
||||
from Screens.Console import Console
|
||||
else:
|
||||
|
||||
@@ -1532,7 +1532,8 @@ def checkInternet():
|
||||
if fileExists('/usr/lib/python3.8'):
|
||||
return True
|
||||
else:
|
||||
import urllib2, urllib
|
||||
import urllib2
|
||||
import urllib
|
||||
try:
|
||||
response = urllib2.urlopen("http://google.com", None, 5)
|
||||
response.close()
|
||||
|
||||
Reference in New Issue
Block a user