Skip to content

Commit

Permalink
added regex for http links
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Letter committed Jun 21, 2017
1 parent d02f1e4 commit 6aadc1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def media_columns(database, model, verb, type, command, **kwargs):
:param database:
our connection to couch db
"""
expression = re.compile("file://")
expression = re.compile('file://|http')
search = numpy.vectorize(lambda x:bool(expression.search(x)))

columns = []
Expand Down

0 comments on commit 6aadc1b

Please sign in to comment.