From: Michael Tremer Date: Sun, 8 Mar 2015 19:30:20 +0000 (+0100) Subject: alfred announce: Allow calling script with full path X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a41743307bc8ae3e629567384e6b088985fbbab;p=people%2Fms%2Fipfire-2.x.git alfred announce: Allow calling script with full path --- diff --git a/config/alfred/announce.py b/config/alfred/announce.py index 51e7d9331e..2baa73d8a2 100644 --- a/config/alfred/announce.py +++ b/config/alfred/announce.py @@ -192,6 +192,7 @@ class AnnounceStats(Announce): def main(): basename = sys.argv[0] + basename = os.path.basename(basename) if basename == "alfred-announce-nodeinfo": a = AnnounceNodeinfo()