Skip to content

Commit

Permalink
add auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozer committed Jun 9, 2016
1 parent 7a12bab commit d85bab2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion unified_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,20 @@
from model.javascript import Javascript
from workflow import Workflow

__version__ = "1.2"


class UnifiedConverter:
def __init__(self):
self.wf = Workflow()
self.wf = Workflow(update_settings={
'github_slug': 'dozer47528/alfred2-hasher',
'version': __version__,
'frequency': 1
})

if self.wf.update_available:
self.wf.start_update()

self.models = [
MD5(),
DateTime(),
Expand Down

0 comments on commit d85bab2

Please sign in to comment.