Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adeept authored May 29, 2020
1 parent 36b575d commit 77a2041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def replace_num(file,initial,new_num):
os.system('sudo touch //home/pi/startup.sh')
with open("//home/pi/startup.sh",'w') as file_to_write:
#you can choose how to control the robot
#file_to_write.write("#!/bin/sh\nsudo python3 " + thisPath + "/server/webServer.py")
file_to_write.write("#!/bin/sh\nsudo python3 " + thisPath + "/server/server.py")
file_to_write.write("#!/bin/sh\nsudo python3 " + thisPath + "/server/webServer.py")
# file_to_write.write("#!/bin/sh\nsudo python3 " + thisPath + "/server/server.py")
except:
pass

Expand Down

0 comments on commit 77a2041

Please sign in to comment.