From ff4d4bc0c545114699cf1cefbfc59543c2b21c7e Mon Sep 17 00:00:00 2001 From: putro Date: Sun, 6 Apr 2014 09:57:19 +0200 Subject: [PATCH] more explicit easygui import --- autonym.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autonym.py b/autonym.py index 02497cf..cd819cb 100755 --- a/autonym.py +++ b/autonym.py @@ -10,7 +10,7 @@ from stats import parse_stats, stats_m, uptime_sort_m, format_stats from utils import pressKey, validateChoice, chooseList, askPassphrase, askSomething, askYesNo from utils import chooseSubjType, selectServer, getDomain, validateEmail, isGpg import gpgfuncts -import easygui as eg +import easygui import string import subprocess @@ -210,7 +210,7 @@ def writeMessage(): recipient = raw_input("Insert recipient email address or newsgroup name: ") - text = eg.textbox(msg='Write your message....', title='Input Box', text='', codebox=0) + text = easygui.textbox(msg='Write your message....', title='Input Box', text='', codebox=0) text = filter(lambda x: x in string.printable, text) if isGpg(text): -- GitLab