Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> t = {'C_FINAL_TIER': (1, None)}
- >>> s = '[[IF:C_FINAL_TIER in (1,2)]]works[[END:]]'
- >>> translate(t, s)
- u'works'
- Failed example:
- translate(t, s)
- Expected:
- u'works'
- Got:
- u''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement