From 64d53974e93e89a98f08f9400a9e8c427b49f3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Eduardo?= Date: Wed, 17 Jan 2018 14:47:18 -0500 Subject: pep8 en lvc/osx/autoupdate.py --- lvc/osx/autoupdate.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lvc/osx/autoupdate.py') diff --git a/lvc/osx/autoupdate.py b/lvc/osx/autoupdate.py index 7b17d47..617cb97 100644 --- a/lvc/osx/autoupdate.py +++ b/lvc/osx/autoupdate.py @@ -1,9 +1,11 @@ from Foundation import * + def load_sparkle_framework(): bundlePath = '%s/Sparkle.framework' % Foundation.NSBundle.mainBundle().privateFrameworksPath() objc.loadBundle('Sparkle', globals(), bundle_path=bundlePath) + def initialize(): load_sparkle_framework() SUUpdater.sharedUpdater().setAutomaticallyChecksForUpdates_(YES) -- cgit v1.2.3