Code clarity fixes
autopep8 -ir -j2 --select=E303,E125 Diff checked manually.
This commit is contained in:
parent
dcb2b61b18
commit
c21d1f7925
37 changed files with 6 additions and 59 deletions
|
|
@ -87,7 +87,7 @@ class MainWindow(QtMainWindow):
|
|||
def updateVideosDisplay(self):
|
||||
for minivideo in self.minivideos:
|
||||
if (minivideo.video.nsfw and self.ui.nsfwCheckBox.isChecked() or
|
||||
not minivideo.video.nsfw and self.ui.sfwCheckBox.isChecked()):
|
||||
not minivideo.video.nsfw and self.ui.sfwCheckBox.isChecked()):
|
||||
minivideo.show()
|
||||
else:
|
||||
minivideo.hide()
|
||||
|
|
@ -119,7 +119,7 @@ class MainWindow(QtMainWindow):
|
|||
self.ui.scrollAreaContent.layout().addWidget(minivideo)
|
||||
self.minivideos.append(minivideo)
|
||||
if (video.nsfw and not self.ui.nsfwCheckBox.isChecked() or
|
||||
not video.nsfw and not self.ui.sfwCheckBox.isChecked()):
|
||||
not video.nsfw and not self.ui.sfwCheckBox.isChecked()):
|
||||
minivideo.hide()
|
||||
|
||||
def openURL(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue