Skip to content

Commit

Permalink
started myphotos
Browse files Browse the repository at this point in the history
  • Loading branch information
siddv committed Mar 26, 2011
1 parent b88655d commit 460b4c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion silph.py
Expand Up @@ -3,6 +3,7 @@
clearanceScale = {0: 'No Access', 1: 'Level 1 Clearance', 2: 'Level 2 Clearance',3: 'Level 3 Clearance', 4: 'Level 4 Clearance', 5: 'Top Level Clearance'}

class Silph:

clearance = 0
login1 = False
def list(self):
Expand All @@ -19,10 +20,11 @@ def login(self):
silph.login()
elif userInput == "10237464":
silph.login1 = True
print "Connection successful"
elif userInput == "ls":
if silph.login1 != True:
print "You need to log in to use this command"
else:
silph.ist()
silph.list()
elif userInput == "quit":
quit()

0 comments on commit 460b4c3

Please sign in to comment.