Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gtkgui: Import urlib.parse instead of urllib #112

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

adrienverge
Copy link
Owner

Because:

>>> import urllib
>>> urllib.parse.unquote('file://test')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'urllib' has no attribute 'parse'
>>> import urllib.parse
>>> urllib.parse.unquote('file://test')
'file://test'

Closes #109

Because:

    >>> import urllib
    >>> urllib.parse.unquote('file://test')
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    AttributeError: module 'urllib' has no attribute 'parse'
    >>> import urllib.parse
    >>> urllib.parse.unquote('file://test')
    'file://test'

Closes #109
@adrienverge adrienverge merged commit bfc921e into master Jun 11, 2024
2 checks passed
@adrienverge adrienverge deleted the fix/urllib-parse branch June 11, 2024 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drag & Drop broken on Fedora 39/40
1 participant