Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
awstats
Commits
641d82933bf5
Commit
ecb0dc76
authored
May 24, 2011
by
Arthur Lutz
Browse files
avoid traceback when stat file doesn't exist
parent
039ef37ddca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.py
View file @
641d8293
...
...
@@ -105,6 +105,8 @@ def extract_stats_dict(awstats_dir, filename):
}
}
'''
if
not
osp
.
isfile
(
osp
.
join
(
awstats_dir
,
filename
)):
return
{}
section_name
=
None
parsed_countdown
=
0
stats_dict
=
{}
...
...
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