Conditions | 2 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python3 |
||
21 | def parse_args(self, args=None, namespace=None): |
||
22 | """Parse special args first, defer to parent class second.""" |
||
23 | if set(args) & {"--webdb"}: # if they intersect |
||
24 | webbrowser.open("https://tclota.birth-online.de/", new=2) |
||
25 | raise SystemExit |
||
26 | else: |
||
27 | argx = super().parse_args(args, namespace) |
||
28 | return argx |
||
29 |