Just change ``` def oembed(input, args): ``` to ``` def oembed(input, args=None): ``` You're testing whether args is a value anyway, so you might as well allow not entering a value at all.