mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-22 05:17:59 +01:00
Ignore arrow parser warnings when running commands
This commit is contained in:
parent
b2bd5e30bd
commit
4a92ced65b
1 changed files with 5 additions and 0 deletions
|
@ -23,11 +23,16 @@ Main module script.
|
|||
|
||||
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
from arrow.factory import ArrowParseWarning
|
||||
|
||||
from fimfarchive.commands import RootCommand
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
warnings.simplefilter('ignore', ArrowParseWarning)
|
||||
|
||||
cmd = RootCommand()
|
||||
code = cmd(*sys.argv[1:])
|
||||
exit(code=code)
|
||||
|
|
Loading…
Reference in a new issue