Skip to content

Commit

Permalink
fix python import error
Browse files Browse the repository at this point in the history
  • Loading branch information
pryley committed Jun 27, 2020
1 parent 2141982 commit ca2209a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Alfred.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def log(message):
@staticmethod
def normalize(value):
if str(value).lower() in ("yes", "y", "tru", "true", "1"): return "True"
if str(value).lower() in ("no", "n", "fals", "false", "0"): return "False"
if str(value).lower() in ("no", "n", "fal", "fals", "false", "0"): return "False"
return value

@staticmethod
Expand Down
Binary file modified Alfred.pyc
Binary file not shown.
2 changes: 0 additions & 2 deletions Notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
from Alfred import Tools
from collections import Counter, OrderedDict
from unicodedata import normalize
import html
import os
import re
import sys
import urllib2

class Notes(object):

Expand Down
Binary file modified Notes.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# encoding: utf-8

from Alfred import Items, Tools
from collections import Counter, OrderedDict
from collections import OrderedDict
from Plist import Plist
import os

Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3376,7 +3376,7 @@ on trimParagraphs(theText, theCharactersToTrim) set theParagraphs to every para
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>1.6.0</string>
<string>1.6.1</string>
<key>webaddress</key>
<string>https://github.com/pryley/alfred-the-archive</string>
</dict>
Expand Down
1 change: 0 additions & 1 deletion search_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from Alfred import Items, Tools
from Notes import Search
import urllib

items = Items()
query = Tools.getArgv(1)
Expand Down

0 comments on commit ca2209a

Please sign in to comment.