Skip to content

Commit bee5139

Browse files
committed
Fixed minor bugs...
1 parent c18b1a9 commit bee5139

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

adminpanel.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import hireemployee
2-
3-
4-
def ap2():
5-
print("ap2")
2+
import fireemployee
63

74
def ap3():
85
print("ap3")
@@ -20,7 +17,7 @@ def ap():
2017
if a=='1':
2118
hireemployee.ap1()
2219
elif a=='2':
23-
ap2()
20+
fireemployee.ap2()
2421
elif a=='3':
2522
ap3()
2623
elif a=='0':

hireemployee.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,4 @@ def ap1():
175175
print(err.msg)
176176
print("-----------Value addition was unsuccessful!!!!-------------")
177177
else:
178-
print("Values added successfully!!")
179-
ap1()
178+
print("Values added successfully!!")

0 commit comments

Comments
 (0)