mirror of
https://github.com/pklaus/brother_ql_web.git
synced 2024-05-25 11:56:53 +03:00
fixes issue handling of port configuration
This commit is contained in:
parent
8dac5342c7
commit
0a2cf12c39
|
@ -215,7 +215,7 @@ def print_text():
|
||||||
def main():
|
def main():
|
||||||
global DEBUG, FONTS, BACKEND_CLASS, CONFIG
|
global DEBUG, FONTS, BACKEND_CLASS, CONFIG
|
||||||
parser = argparse.ArgumentParser(description=__doc__)
|
parser = argparse.ArgumentParser(description=__doc__)
|
||||||
parser.add_argument('--port', default=8013)
|
parser.add_argument('--port', default=False)
|
||||||
parser.add_argument('--loglevel', type=lambda x: getattr(logging, x.upper()), default=False)
|
parser.add_argument('--loglevel', type=lambda x: getattr(logging, x.upper()), default=False)
|
||||||
parser.add_argument('--font-folder', default=False, help='folder for additional .ttf/.otf fonts')
|
parser.add_argument('--font-folder', default=False, help='folder for additional .ttf/.otf fonts')
|
||||||
parser.add_argument('--default-label-size', default=False, help='Label size inserted in your printer. Defaults to 62.')
|
parser.add_argument('--default-label-size', default=False, help='Label size inserted in your printer. Defaults to 62.')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user