Skip to content

Commit

Permalink
correct credit
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktini authored Apr 5, 2023
1 parent e5f1057 commit c05a3d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/submit_folksonomy_tags/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
A MusicBrainz login is required to use this plugin. Log in first by going to the General options. Then, to use, right click on a track or release then go to <i>Plugins</i> and depending on what you want to submit, choose the option you want.
Uses code from rswift's "Submit ISRC" plugin (specifically, the handling of the network response)
Uses code from rdswift's "Submit ISRC" plugin (specifically, the handling of the network response)
"""
PLUGIN_VERSION = '0.2.4'
PLUGIN_API_VERSIONS = ['2.2']
Expand All @@ -28,7 +28,7 @@
from PyQt5.QtWidgets import QMessageBox

# List of Qt network error codes.
# From "Submit ISRC" plugin - credit to rswift.
# From "Submit ISRC" plugin - credit to rdswift.
q_error_codes = {
0: 'No error',
1: "The remote server refused the connection (the server is not accepting requests).",
Expand Down Expand Up @@ -86,11 +86,11 @@ def tag_submit_handler(document, reply, error, tagger):
The function handling the network response from MusicBrainz
or QtNetwork, showing a message box if an error had occurred.
Uses the network response handler code from rswift's "Submit ISRC"
Uses the network response handler code from rdswift's "Submit ISRC"
plugin.
"""
if error:
# Error handling from rswift's Submit ISRC plugin
# Error handling from rdswift's Submit ISRC plugin
xml_text = str(document, 'UTF-8') if isinstance(document, (bytes, bytearray, QtCore.QByteArray)) else str(document)

# Build error text message from returned xml payload
Expand Down

0 comments on commit c05a3d3

Please sign in to comment.