Skip to content

Commit

Permalink
Bugfix: make custom_keywords work like described in the README
Browse files Browse the repository at this point in the history
Previously you had to do this:

  [format]
  my_custom_keyword = fieldname

  [defaults]
  fieldname = default_value

Now you have to do what the README says:

  [format]
  my_custom_keyword = fieldname

  [defaults]
  my_custom_keyword = default_value
  • Loading branch information
mgedmin committed Dec 30, 2009
1 parent 3baadb2 commit a462738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ try:
elif param == 'jabberid':
params[paramname] = jabberid
else:
params[paramname] = pastebind[pastebin]['defaults'][paramname]
params[paramname] = pastebind[pastebin]['defaults'][param]
if params:
return params
else:
Expand Down

0 comments on commit a462738

Please sign in to comment.