Skip to content

Config doesn't support tabs #400

@Benjiko99

Description

@Benjiko99

Describe the bug

If the config file contains tab characters, the server will fail to start.

To Reproduce

Edit /etc/copyparty.conf and use tabs to align the comments instead of using spaces.

[global]
  e2dsa         # enable file indexing and filesystem scanning

The logs contain:

copyparty: error: unrecognized arguments: --e2dsa        # enable file indexing and filesystem scanning

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions