Changeset 7d36a4
- Timestamp:
- 02/11/2011 09:48:41 PM (14 years ago)
- Children:
- 4490cd
- Parents:
- 6f844a
- 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:48:41 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/core/torrent.py
r6f844a r7d36a4 794 794 def move_storage(self, dest): 795 795 """Move a torrent's storage location""" 796 797 # Convert path from utf8 to unicode 798 dest_u=unicode(dest,"utf-8") 799 796 797 # Attempt to convert utf8 path to unicode 798 # Note: Inconsistent encoding for 'dest', needs future investigation 799 try: 800 dest_u = unicode(dest, "utf-8") 801 except TypeError: 802 # String is already unicode 803 dest_u = dest 804 800 805 if not os.path.exists(dest_u): 801 806 try:
Note:
See TracChangeset
for help on using the changeset viewer.