@TrystanLea - I just ran the emonpi Update and I get the same error.

 

@Greebo fix worked great!