Skip to content

Commit

Permalink
download: fixed unicode location error (RhBug:1178239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Silhan committed Jan 14, 2015
1 parent 0cf9f74 commit b1e7e9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import dnf
import dnf.cli
import dnf.exceptions
import dnf.i18n
import dnf.subject
import dnfpluginscore
import functools
Expand Down Expand Up @@ -88,7 +89,7 @@ def run(self, args):
if self.opts.destdir:
dest = self.opts.destdir
else:
dest = os.getcwd()
dest = dnf.i18n.ucd(os.getcwd())

move = functools.partial(self._move_package, dest)
map(move, locations)
Expand Down

0 comments on commit b1e7e9b

Please sign in to comment.