Skip to content

Commit

Permalink
Merge pull request #985 from maxpowa/patch-1
Browse files Browse the repository at this point in the history
[url] Fix URL excludes loading
  • Loading branch information
embolalia committed Jan 6, 2016
2 parents b4f1546 + 86ad755 commit c4af7e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sopel/modules/url.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import re
from sopel import web, tools
from sopel.module import commands, rule, example
from sopel.config.types import ValidatedAttribute, StaticSection
from sopel.config.types import ValidatedAttribute, ListAttribute, StaticSection


url_finder = None
Expand All @@ -29,7 +29,7 @@

class UrlSection(StaticSection):
# TODO some validation rules maybe?
exclude = ValidatedAttribute('exclude')
exclude = ListAttribute('exclude')
exclusion_char = ValidatedAttribute('exclusion_char', default='!')


Expand Down

0 comments on commit c4af7e8

Please sign in to comment.