summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fb.py b/fb.py
index 6a36741..40735dd 100755
--- a/fb.py
+++ b/fb.py
@@ -433,6 +433,8 @@ class FBClient:
pass
def loadConfig(self):
+ defaultConfigFile = os.path.join(xdg.BaseDirectory.xdg_config_home, 'fb-client/config')
+
if self.args.config is None:
self.parseConfig(defaultConfigFile, ignoreMissing=True)
else:
@@ -458,7 +460,6 @@ class FBClient:
def run(self):
signal.signal(signal.SIGINT, self.handle_ctrl_c)
- defaultConfigFile = os.path.join(xdg.BaseDirectory.xdg_config_home, 'fb-client/config')
parser = argparse.ArgumentParser(
description="Upload/nopaste file(s)/stdin to paste.xinu.at and copy URL(s) to clipboard.")