Skip to content

Commit

Permalink
Add new line character to supported characters
Browse files Browse the repository at this point in the history
  • Loading branch information
skjiisa committed Aug 21, 2021
1 parent de8eb3b commit 1ff2527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MyQR/myqr.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# See [https://github.com/sylnsfar/qrcode] for more details!
def run(words, version=1, level='H', picture=None, colorized=False, contrast=1.0, brightness=1.0, save_name=None, save_dir=os.getcwd()):

supported_chars = r"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ··,.:;+-*/\~!@#$%^&`'=<>[]()?_{}|\""
supported_chars = '\n' + r"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ··,.:;+-*/\~!@#$%^&`'=<>[]()?_{}|\""


# check every parameter
Expand Down

0 comments on commit 1ff2527

Please sign in to comment.