From d44a574e233323e575d59cff5b47e01068e41535 Mon Sep 17 00:00:00 2001 From: JinwookMBP Date: Sun, 27 Aug 2017 17:57:25 +0900 Subject: [PATCH] fix '__dir__' set to empty --- font-patcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font-patcher b/font-patcher index c167ace8e..de545bee7 100755 --- a/font-patcher +++ b/font-patcher @@ -62,7 +62,7 @@ parser.add_argument('-ext', '--extension', type=str, nargs='?', dest='extension' parser.add_argument('-out', '--outputdir', type=str, nargs='?', dest='outputdir', help='The directory to output the patched font file to', default=".") args = parser.parse_args() -__dir__ = os.path.dirname(__file__) +__dir__ = os.path.dirname(os.path.abspath(__file__)) minimumVersion = 20141231 actualVersion = int(fontforge.version()) # un-comment following line for testing invalid version error handling