mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-25 14:37:59 +01:00
Remove date parser warning suppression
This commit is contained in:
parent
edfde1136f
commit
41b697e7f9
1 changed files with 1 additions and 6 deletions
|
@ -5,7 +5,7 @@ Main module script.
|
||||||
|
|
||||||
#
|
#
|
||||||
# Fimfarchive, preserves stories from Fimfiction.
|
# Fimfarchive, preserves stories from Fimfiction.
|
||||||
# Copyright (C) 2015 Joakim Soderlund
|
# Copyright (C) 2019 Joakim Soderlund
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -23,16 +23,11 @@ Main module script.
|
||||||
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import warnings
|
|
||||||
|
|
||||||
from arrow.factory import ArrowParseWarning
|
|
||||||
|
|
||||||
from fimfarchive.commands import RootCommand
|
from fimfarchive.commands import RootCommand
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
warnings.simplefilter('ignore', ArrowParseWarning)
|
|
||||||
|
|
||||||
cmd = RootCommand()
|
cmd = RootCommand()
|
||||||
code = cmd(*sys.argv[1:])
|
code = cmd(*sys.argv[1:])
|
||||||
exit(code=code)
|
exit(code=code)
|
||||||
|
|
Loading…
Reference in a new issue