From fc66ba04aeffdc3e2f1efb622ce18611a105802f Mon Sep 17 00:00:00 2001 From: rakete Date: Thu, 13 Oct 2022 01:30:25 +0200 Subject: [PATCH] update pyquotes (change default quotedir) --- .local/bin/pyquotes | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.local/bin/pyquotes b/.local/bin/pyquotes index b3cc82ba..00419b2d 100755 --- a/.local/bin/pyquotes +++ b/.local/bin/pyquotes @@ -22,18 +22,18 @@ import os.path import random from os import environ, scandir -VERSION = "1.1" +VERSION = "1.2" BANNER = f"""\ -pyquotes {VERSION} - Copyright (C) 2021 Jenny Rakete +pyquotes {VERSION} -- Copyright (C) 2022 rakete This is free software; see the beginning of this file for copying conditions. -There is NO warranty; +There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.""" QUOTEPATH = ( - environ["QUOTEPATH"] if "QUOTEPATH" in environ else "/usr/share/pyquotes" + environ["QUOTEPATH"] if "QUOTEPATH" in environ else + f"{ os.path.expanduser('~') }/.local/share/pyquotes" ) - def get_arguments(): parser = argparse.ArgumentParser()