Changeset 8326206
- Timestamp:
- 06/08/2017 10:25:11 AM (8 years ago)
- Branches:
- 2.0.x, develop, master
- Children:
- bdb3b5
- Parents:
- 85a1e4
- git-author:
- Calum Lind <calumlind+deluge@gmail.com> (03/17/2017 11:31:32 AM)
- git-committer:
- Calum Lind <calumlind+deluge@gmail.com> (06/08/2017 10:25:11 AM)
- Location:
- deluge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/common.py
r85a1e4 r8326206 110 110 filename = '' 111 111 try: 112 return os.path.join(save_config_path('deluge'), filename)112 return decode_bytes(os.path.join(save_config_path('deluge'), filename)) 113 113 except OSError as ex: 114 114 log.error('Unable to use default config directory, exiting... (%s)', ex) -
deluge/configmanager.py
r85a1e4 r8326206 112 112 def set_config_dir(directory): 113 113 """Sets the config directory, else just uses default""" 114 return _configmanager.set_config_dir(d irectory)114 return _configmanager.set_config_dir(deluge.common.decode_bytes(directory)) 115 115 116 116
Note:
See TracChangeset
for help on using the changeset viewer.