mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-28 20:09:12 +03:00
log() is a method, so prefix it with self.
This commit is contained in:
@@ -768,7 +768,7 @@ class adgui(QObject):
|
||||
def update_device_info(self):
|
||||
p = ad.locate_part(ad.cvar.part_list, self.dev_selected)
|
||||
if not p:
|
||||
log(f"Could not find {self.dev_selected} again, confused\n")
|
||||
self.log(f"Could not find {self.dev_selected} again, confused\n")
|
||||
return
|
||||
ad.avr_initmem(p)
|
||||
self.devinfo.label_2.setText(p.desc)
|
||||
|
||||
Reference in New Issue
Block a user