Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
storjstatus-client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
James Coyle
storjstatus-client
Commits
6f82948d
Commit
6f82948d
authored
Mar 02, 2018
by
Tom Underhill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to handle non-UTF8 files when searching for configs
parent
dc1bd793
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
storjalytics/storjalytics_send.py
storjalytics/storjalytics_send.py
+1
-1
No files found.
storjalytics/storjalytics_send.py
View file @
6f82948d
...
...
@@ -129,7 +129,7 @@ def config_json():
for
root
,
dirs
,
filenames
in
os
.
walk
(
STORJCONFIG
):
for
f
in
filenames
:
# consume config file
with
open
(
os
.
path
.
join
(
root
,
f
),
'r'
)
as
f_open
:
with
open
(
os
.
path
.
join
(
root
,
f
),
'r'
,
encoding
=
"ISO-8859-1"
)
as
f_open
:
print
(
"Parsing config file: "
+
os
.
path
.
join
(
root
,
f
))
node
=
{}
f_data
=
f_open
.
read
()
...
...
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