diff --git a/main.py b/main.py index b9b29c7..c6c1e45 100644 --- a/main.py +++ b/main.py @@ -38,10 +38,13 @@ while True: elif command == 'CARD': Card = 1 elif command == 'UPDATE': - os.system('cd ~/libraryClient') - os.system('git pull') + if os.name != 'nt': + os.system('cd ~/libraryClient') + else: + os.system('git pull') elif command == 'LU': Mode=3 + print('Mode lookup') elif command == '': pass else: