commit
This commit is contained in:
+3
-15
@@ -255,18 +255,6 @@ def export():
|
|||||||
errorhandler(error, funchtion)
|
errorhandler(error, funchtion)
|
||||||
|
|
||||||
def errorhandler(error, funchtion):
|
def errorhandler(error, funchtion):
|
||||||
options = {
|
|
||||||
'1': start,
|
|
||||||
'2': load,
|
|
||||||
'3': Menu,
|
|
||||||
'4': editor,
|
|
||||||
'5': configdisplay,
|
|
||||||
'6': export,
|
|
||||||
'7': existstage1,
|
|
||||||
'8': existstage1,
|
|
||||||
'9': load,
|
|
||||||
'10': exit,
|
|
||||||
}
|
|
||||||
if error == "1":
|
if error == "1":
|
||||||
print(" A language baised error has occured \n Ein sprachbasierter Fehler ist aufgetreten")
|
print(" A language baised error has occured \n Ein sprachbasierter Fehler ist aufgetreten")
|
||||||
time.sleep(1.5987654321)
|
time.sleep(1.5987654321)
|
||||||
@@ -278,7 +266,7 @@ def errorhandler(error, funchtion):
|
|||||||
time.sleep(1.5987654321)
|
time.sleep(1.5987654321)
|
||||||
funchtionhandler(funchtion)
|
funchtionhandler(funchtion)
|
||||||
|
|
||||||
def funchtionhandler(funchtion):
|
def funchtionhandler(task):
|
||||||
options = {
|
options = {
|
||||||
'1': start,
|
'1': start,
|
||||||
'2': load,
|
'2': load,
|
||||||
@@ -291,8 +279,8 @@ def funchtionhandler(funchtion):
|
|||||||
'9': load,
|
'9': load,
|
||||||
'10': exit,
|
'10': exit,
|
||||||
}
|
}
|
||||||
if funchtion in options:
|
if task in options:
|
||||||
options[funchtion]()
|
options[task]()
|
||||||
|
|
||||||
|
|
||||||
def existstage1():
|
def existstage1():
|
||||||
|
|||||||
Reference in New Issue
Block a user