Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
fix workflow failing when disconnected from vpn.
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusmatticus committed Feb 12, 2021
1 parent c2bc5c1 commit bb5aff6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified MullvadVPN.alfredworkflow
Binary file not shown.
4 changes: 2 additions & 2 deletions src/mullvad.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def get_protocol():


def protocol_status():
status = get_connection()[0].split()[4]
status = get_protocol().split(':')[1].split()[0]
wf.add_item('Tunnel-protocol: {}'.format(status),
subtitle='Change tunnel-protocol',
autocomplete='protocol',
Expand Down Expand Up @@ -402,7 +402,7 @@ def filter_relay_cities(wf, countryCode, query):
#############################

def main(wf):
#TODO update workflow option
# TODO: update workflow option
if wf.update_available:
wf.add_item('An update is available!',
autocomplete='workflow:update',
Expand Down
2 changes: 1 addition & 1 deletion src/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.4
0.10.5

0 comments on commit bb5aff6

Please sign in to comment.