Diverting a dupe with wrong input (7)
I believe the answer is:
amusing
'diverting' is the definition.
('amuse' can be a synonym of 'divert')
'a dupe with wrong input' is the wordplay.
'dupe' becomes 'mug' (mug is a kind of dupe).
'with' means one lot of letters go next to another.
'wrong' becomes 'sin' (wrong can mean a sin or crime).
'input' indicates putting letters inside.
'a'+'mug'='amug'
'amug' placed around 'sin' is 'AMUSING'.
(Other definitions for amusing that I've seen before include "Providing entertainment" , "Comical" , "Causing a smile" , "Mildly funny - diverting" , "Entertaining in a mild way" .)