adafruit / Python-Thermal-Printer

217 stars 147 forks source link

Removed class specific arguments from kwargs via "pop". Since this prevents "Serial" from initializing. #47

Open ahmetuludag opened 3 years ago

ahmetuludag commented 3 years ago

If you pass firmware and/or heattime keyword arguments to Adafruit_Thermal it throws an exception since Serial class does not accept these arguments. So "pop" should be used instead of "get" in order to use these arguments.