Skip to content

Commit

Permalink
autopep aggressive E225~E228,E231
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylicious committed Mar 24, 2024
1 parent eff5932 commit f0c9fab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/python/Components/About.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def getCPUSpeedString():
return "1,5 GHz"
elif getMachineBuild() in ('vuuno4k', 'dm900', 'gb7252', 'dags7252'):
return "1,7 GHz"
elif getMachineBuild() in ('dagsmv200', 'gbmv200', 'u51', 'u52', 'u53', 'u532', 'u533', 'u54', 'u55', 'u56', 'u57', 'u571', 'u5', 'u5pvr', 'h9', 'i55se', 'h9se', 'h9combose', 'h9combo', 'h10', 'h11', 'cc1', 'sf8008', 'sf8008m', 'sf8008opt', 'sx988', 'sx88v2', 'ip8','hd60', 'hd61', 'pulse4k', 'pulse4kmini', 'i55plus', 'ustym4kpro', 'ustym4kott', 'beyonwizv2', 'viper4k', 'multibox', 'multiboxse', 'sx88v2', 'sx888'):
elif getMachineBuild() in ('dagsmv200', 'gbmv200', 'u51', 'u52', 'u53', 'u532', 'u533', 'u54', 'u55', 'u56', 'u57', 'u571', 'u5', 'u5pvr', 'h9', 'i55se', 'h9se', 'h9combose', 'h9combo', 'h10', 'h11', 'cc1', 'sf8008', 'sf8008m', 'sf8008opt', 'sx988', 'sx88v2', 'ip8', 'hd60', 'hd61', 'pulse4k', 'pulse4kmini', 'i55plus', 'ustym4kpro', 'ustym4kott', 'beyonwizv2', 'viper4k', 'multibox', 'multiboxse', 'sx88v2', 'sx888'):
return "1,6 GHz"
elif getMachineBuild() in ('sfx6008', 'sfx6018'):
return "1,2 GHz"
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Plugins/Extensions/YTDLWrapper/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def zap(session, service, **kwargs):
if result and hasattr(result, "url"):
url = result['url']
print("[ChannelSelection] zap / YoutubeDL result url %s" % url)
return (url,errormsg)
return (url, errormsg)
else:
errormsg = "No Link found!"
print("[ChannelSelection] zap / YoutubeDL no streams")
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Screens/FlashImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def downloadError(self, reason):
self.downloader.stop()
self.session.openWithCallback(self.abort, MessageBox, _("Error during downloading image\n%s\n%s") % (self.imagename, reason), type=MessageBox.TYPE_ERROR, simple=True)

def downloadEnd(self,filename=None):
def downloadEnd(self, filename=None):
self.downloader.stop()
self.unzip()

Expand Down

0 comments on commit f0c9fab

Please sign in to comment.