Skip to content

Commit

Permalink
Merge pull request sopel-irc#1051 from neonobjclash/fixset
Browse files Browse the repository at this point in the history
fix .set command for non filename attributes
  • Loading branch information
maxpowa committed Mar 29, 2016
2 parents 0875285 + f798e25 commit 303e669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/modules/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def set_config(bot, trigger):
if isinstance(descriptor, FilenameAttribute):
value = descriptor.parse(bot.config, descriptor, value)
else:
value = descriptor.parse(descriptor, value)
value = descriptor.parse(value)
except ValueError as exc:
bot.say("Can't set attribute: " + str(exc))
return
Expand Down

0 comments on commit 303e669

Please sign in to comment.