Commit f3dc533c authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by ntome

boobank_indicator: PEP8/flake8 for Python 3

parent 487151d2
#!/usr/bin/env python #!/usr/bin/env python
import os
import logging import logging
import os
from signal import SIG_DFL, SIGINT, signal
from threading import Thread from threading import Thread
from signal import signal, SIGINT, SIG_DFL
from pkg_resources import resource_filename
from gi.repository import Gtk, GObject, Notify
from gi.repository import AppIndicator3 as appindicator from gi.repository import AppIndicator3 as appindicator
from gi.repository import GObject, Gtk, Notify
from pkg_resources import resource_filename
from weboob.core import Weboob, CallErrors
from weboob.capabilities.bank import CapBank, Account
from weboob.capabilities import UserError from weboob.capabilities import UserError
from weboob.capabilities.bank import Account, CapBank
from weboob.core import CallErrors, Weboob
from weboob.exceptions import BrowserForbidden, BrowserIncorrectPassword, BrowserSSLError, BrowserUnavailable
from weboob.tools.application.base import MoreResultsAvailable from weboob.tools.application.base import MoreResultsAvailable
from weboob.exceptions import BrowserUnavailable, BrowserIncorrectPassword, BrowserForbidden, BrowserSSLError from weboob.tools.compat import unicode
PING_FREQUENCY = 3600 # seconds PING_FREQUENCY = 3600 # seconds
APPINDICATOR_ID = "boobank_indicator" APPINDICATOR_ID = "boobank_indicator"
...@@ -187,5 +187,6 @@ def main(): ...@@ -187,5 +187,6 @@ def main():
Notify.init('boobank_indicator') Notify.init('boobank_indicator')
BoobankChecker().main() BoobankChecker().main()
if __name__ == "__main__": if __name__ == "__main__":
main() main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment