Changeset f87377
- Timestamp:
- 02/11/2011 09:58:40 PM (14 years ago)
- Branches:
- 2.0.x, develop, extjs4-port, master
- Children:
- 98ca37
- Parents:
- e198ea
- git-author:
- Calum Lind <calumlind+deluge@gmail.com> (02/11/2011 09:48:00 AM)
- git-committer:
- Calum Lind <calumlind+deluge@gmail.com> (02/11/2011 09:58:40 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/core/torrent.py
re198ea rf87377 808 808 def move_storage(self, dest): 809 809 """Move a torrent's storage location""" 810 811 # Convert path from utf8 to unicode 812 dest_u=unicode(dest,"utf-8") 813 810 811 # Attempt to convert utf8 path to unicode 812 # Note: Inconsistent encoding for 'dest', needs future investigation 813 try: 814 dest_u = unicode(dest, "utf-8") 815 except TypeError: 816 # String is already unicode 817 dest_u = dest 818 814 819 if not os.path.exists(dest_u): 815 820 try:
Note:
See TracChangeset
for help on using the changeset viewer.