mirror of
https://github.com/gryf/slack-backup.git
synced 2026-10-08 18:52:31 +02:00
Added section about config in readme
This commit is contained in:
1 parent
db658f917f
commit
7ccc2bddaa
3 files changed
+56
-7
No files matched your search
@@ -53,12 +53,7 @@ class Config(object):
|
||||
|
||||
def load_config(self, args):
|
||||
|
||||
if not args.config:
|
||||
path = os.path.join(os.path.abspath('.'), 'slack-backup.ini')
|
||||
else:
|
||||
path = args.config
|
||||
|
||||
locations = [path,
|
||||
locations = [args.config,
|
||||
'./slack-backup.conf',
|
||||
os.path.expandvars('$XDG_CONFIG_HOME/slack-backup.ini'),
|
||||
os.path.expandvars('$HOME/.config/slack-backup.ini')]
|
||||
|
||||
Reference in new issue
Block a user