From 48aafe466234c7ccd8d3d2743a5306bc73e1e9e8 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 20 May 2018 14:56:33 +0200 Subject: [PATCH] fixing the base path detection --- bin/dev/make_credits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dev/make_credits.py b/bin/dev/make_credits.py index fb13322b13..edd34c7515 100755 --- a/bin/dev/make_credits.py +++ b/bin/dev/make_credits.py @@ -29,7 +29,7 @@ dontinclude = ['root', 'friendica', 'bavatar', 'tony baldwin', 'Taek', 'silke m' # this script is in the /util sub-directory of the friendica installation # so the friendica path is the 0th argument of calling this script but we # need to remove the name of the file and the name of the directory -path = os.path.abspath(argv[0].split('util/make_credits.py')[0]) +path = os.path.abspath(argv[0].split('bin/dev/make_credits.py')[0]) print('> base directory is assumed to be: '+path) # a place to store contributors contributors = ["Andi Stadler", "Ratten", "Vít Šesták 'v6ak'"] -- 2.39.5