Skip to content

Commit

Permalink
Address MerlijnWajer's comments
Browse files Browse the repository at this point in the history
Signed-off-by: JoeLametta <[email protected]>
  • Loading branch information
JoeLametta committed Jan 17, 2020
1 parent 05a1ba2 commit 78567e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ path_filter_fat = True ; replace FAT file system unsafe characters in filename
path_filter_special = False ; replace special characters in filenames with _

[musicbrainz]
server = http://musicbrainz.org:80 ; use MusicBrainz server at host[:port]
# use https as scheme if connecting to a https server. Example below:
# server = https://example.com:1234
server = https://musicbrainz.org ; use MusicBrainz server at host[:port]
# use http as scheme if connecting to a plain http server. Example below:
# server = http://example.com:8080

[drive:HL-20]
defeats_cache = True ; whether the drive is capable of defeating the audio cache
Expand Down
2 changes: 1 addition & 1 deletion whipper/command/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

def main():
server = config.Config().get_musicbrainz_server()
https_enabled = True if server['scheme'] == 'https' else False
https_enabled = server['scheme'] == 'https'
try:
musicbrainzngs.set_hostname(server['netloc'], https_enabled)
# Parameter 'use_https' is missing in versions of musicbrainzngs < 0.7
Expand Down

0 comments on commit 78567e7

Please sign in to comment.