diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-02-21 09:06:51 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | 6f504afe0bfd3111e0893d7ce6786316b6ebac04 (patch) | |
tree | 5e45b9bd92f20dddf2b826cbfdb0cf69592e0999 /alot/settings | |
parent | 06847b884ccec370013218370bf56fe427ceab1e (diff) |
fix rebasing errors
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/manager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py index 3375f74d..6693bb1c 100644 --- a/alot/settings/manager.py +++ b/alot/settings/manager.py @@ -176,12 +176,12 @@ class SettingsManager(object): value = section[key] - if isinstance(value, (str, unicode)): + if isinstance(value, str): section[key] = expand_environment_and_home(value) elif isinstance(value, (list, tuple)): new = list() for item in value: - if isinstance(item, (str, unicode)): + if isinstance(item, str): new.append(expand_environment_and_home(item)) else: new.append(item) @@ -529,7 +529,7 @@ class SettingsManager(object): def represent_datetime(self, d): """ - turns a given datetime obj into a unicode string representation. + turns a given datetime obj into a string representation. This will: 1) look if a fixed 'timestamp_format' is given in the config |