aboutsummaryrefslogtreecommitdiffstats
path: root/lvc
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@hyperbola.info>2018-01-17 14:47:18 -0500
committerJesús Eduardo <heckyel@hyperbola.info>2018-01-17 14:47:18 -0500
commit64d53974e93e89a98f08f9400a9e8c427b49f3db (patch)
tree5381060c6ebd906c45318dd7aebe2010a4951c64 /lvc
parent33c5032e40244a6d43c4e014911786000236574f (diff)
downloadlibrevideoconverter-64d53974e93e89a98f08f9400a9e8c427b49f3db.tar.lz
librevideoconverter-64d53974e93e89a98f08f9400a9e8c427b49f3db.tar.xz
librevideoconverter-64d53974e93e89a98f08f9400a9e8c427b49f3db.zip
pep8 en lvc/osx/autoupdate.py
Diffstat (limited to 'lvc')
-rw-r--r--lvc/osx/autoupdate.py2
1 files changed, 2 insertions, 0 deletions
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)