Skip to content

Commit

Permalink
PEP8 double aggressive W291 ~ W293 and W391
Browse files Browse the repository at this point in the history
  • Loading branch information
persianpros committed Apr 13, 2021
1 parent 23b1f8b commit 5bb63c0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def doneConfiguring(session, retval):
class AutoStartTimer:
def __init__(self, session):
self.session = session
self.timer = enigma.eTimer()
self.timer = enigma.eTimer()
self.timer.callback.append(self.onTimer)
self.update()

Expand Down Expand Up @@ -119,7 +119,7 @@ def onTimer(self):
# If we're close enough, we're okay...
atLeast = 0
if abs(wake - now) < 60:
runBackup()
runBackup()
atLeast = 60
self.update(atLeast)

Expand Down
1 change: 0 additions & 1 deletion plugin/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,4 +424,3 @@ def exit(self):
def okClicked(self):
if self.filelist.canDescent():
self.filelist.descent()

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
description='AutoBackup',
package_dir={pkg: 'plugin'},
packages=[pkg],
package_data={pkg:
package_data={pkg:
['plugin.png', 'backup.cfg', 'settings-backup.sh', 'locale/*/LC_MESSAGES/*.mo']},
cmdclass=setup_translate.cmdclass, # for translation
)
1 change: 0 additions & 1 deletion setup_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ def run(self):
'build': build,
'build_trans': build_trans,
}

0 comments on commit 5bb63c0

Please sign in to comment.