#2815: Path inconsistency while escaping whitespace
----------------------+--------------------
  Reporter:  Joe96    |      Owner:
      Type:  bug      |     Status:  new
  Priority:  minor    |  Milestone:  1.3.x
 Component:  Console  |    Version:  1.3.12
Resolution:           |   Keywords:
----------------------+--------------------

Comment (by Joe96):

 In
 {{{
 deluge\ui\console\commands
 }}}
 on line 62, there is:
 {{{
 t_options["download_location"] = os.path.expanduser(options["path"])
 }}}

 I changed that to

 {{{
 t_options["download_location"] = os.path.abspath(options["path"])
 }}}

 And it seems to work fine. abspath turns the double slashes into single
 slashes, while expanduser doesn't.

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2815#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to