1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 19:52:12 +01:00

Merge pull request #568 from MaximilianMeister/fetch

cast bytes object to string during os.path.join
This commit is contained in:
Marco Strigl 2019-05-28 13:36:06 +02:00 committed by GitHub
commit d5c91d6a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ class Fetcher:
sys.exit(1)
canonname = pac_obj.binary
fullfilename = os.path.join(destdir, canonname)
fullfilename = os.path.join(destdir, decode_it(canonname))
if pac_obj is not None:
pac_obj.canonname = canonname
pac_obj.fullfilename = fullfilename