Skip to content

Commit

Permalink
Default value for bytes type in editor GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
marin-m committed Feb 18, 2017
1 parent 0756f7c commit 9e15981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def __init__(self, item, ds, app, path):
self.widget.setFrame(False)
self.widget.setStyleSheet('padding: 1px 0')
self.widget.textEdited.connect(self.valueChanged)
default = ''
default = '' if ds.type != ds.TYPE_BYTES else b''

else:
if ds.cpp_type in (ds.CPPTYPE_DOUBLE, ds.CPPTYPE_FLOAT):
Expand Down

0 comments on commit 9e15981

Please sign in to comment.