Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fact_pdf_report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
fact_pdf_report
Commits
8d773384
Commit
8d773384
authored
6 years ago
by
Peter Weidenbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logging bug fixed
parent
5cf8e93f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pdf_generator.py
src/pdf_generator.py
+2
-2
No files found.
src/pdf_generator.py
View file @
8d773384
...
...
@@ -29,8 +29,8 @@ STANDARD_CONF_FILE = os.path.dirname(os.path.abspath(__file__)) + '/config/main.
def
_setup_argparser
():
parser
=
argparse
.
ArgumentParser
(
description
=
'{} - {}'
.
format
(
PROGRAM_NAME
,
PROGRAM_DESCRIPTION
))
parser
.
add_argument
(
'-V'
,
'--version'
,
action
=
'version'
,
version
=
'{} {}'
.
format
(
PROGRAM_NAME
,
PROGRAM_VERSION
))
parser
.
add_argument
(
'-l'
,
'--log_file'
,
help
=
'path to log file'
,
default
=
'./log/main.log'
)
parser
.
add_argument
(
'-L'
,
'--log_level'
,
help
=
'define the log level [DEBUG,INFO,WARNING,ERROR]'
,
default
=
'WARNING'
)
parser
.
add_argument
(
'-l'
,
'--log_file'
,
help
=
'path to log file'
)
parser
.
add_argument
(
'-L'
,
'--log_level'
,
help
=
'define the log level [DEBUG,INFO,WARNING,ERROR]'
)
parser
.
add_argument
(
'-d'
,
'--debug'
,
action
=
'store_true'
,
default
=
False
,
help
=
'print debug messages'
)
parser
.
add_argument
(
'-C'
,
'--config_file'
,
help
=
'set path to config File'
,
default
=
STANDARD_CONF_FILE
)
return
parser
.
parse_args
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment