Browse Source

tw.store: minor bugfix

The MMGen Project 7 months ago
parent
commit
9fe344cc70
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mmgen/data/version
  2. 1 1
      mmgen/tw/store.py

+ 1 - 1
mmgen/data/version

@@ -1 +1 @@
-15.1.dev40
+15.1.dev41

+ 1 - 1
mmgen/tw/store.py

@@ -49,7 +49,7 @@ class TwCtlWithStore(TwCtl):
 			elif label.mmid:
 				ymsg(f'Warning: MMGen ID {label.mmid!r} was missing in tracking wallet!')
 				r[addr]['mmid'] = label.mmid
-			if not r[addr]['comment']:
+			if not 'comment' in r[addr]:
 				ymsg(f'Warning: Label for MMGen ID {label.mmid!r} was missing in tracking wallet!')
 				r[addr]['comment'] = label.comment
 			elif label.comment: # overwrite existing comment only if new comment not empty