From 516f8b1d58dd6826b26913c33ee6dcbc1a5b29f0 Mon Sep 17 00:00:00 2001 From: schriftgestalt Date: Tue, 9 Jan 2018 12:26:34 +0100 Subject: [PATCH] Cleanup --- Metrics & Classes/importFea.py | 5 ++--- Metrics & Classes/set Kerning Groups.py | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Metrics & Classes/importFea.py b/Metrics & Classes/importFea.py index 65be33d..6b926b0 100644 --- a/Metrics & Classes/importFea.py +++ b/Metrics & Classes/importFea.py @@ -1,7 +1,7 @@ #MenuTitle: import fea file # encoding: utf-8 """ -importAFM.py +importFea.py Created by Georg Seifert on 2010-04-03. Copyright (c) 2010 schriftgestaltung.de. All rights reserved. @@ -82,8 +82,7 @@ def main(): if result is not None: importfea_file(Doc, result) else: - Alert = NSAlert.alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat_(objc.nil, objc.nil, objc.nil, objc.nil, "Please open a document") - Alert.runModal() + Message("Please open a document", "") if __name__ == '__main__': main() diff --git a/Metrics & Classes/set Kerning Groups.py b/Metrics & Classes/set Kerning Groups.py index e901df6..541843f 100755 --- a/Metrics & Classes/set Kerning Groups.py +++ b/Metrics & Classes/set Kerning Groups.py @@ -980,7 +980,5 @@ def test(): newValues.append( niceName(value) ) print " \"%s\" : [\"%s\", \"%s\"]," % (key, newValues[1], newValues[0]) NewDefaultKeys[key] = newValues - #print NewDefaultKeys main() -#test() \ No newline at end of file