update script

This commit is contained in:
sinseman44
2020-11-15 09:39:29 +00:00
parent 48e5fe2f39
commit eb920e789b
2 changed files with 6 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
#!/usr/bin/env python3
import os
import os, sys
import piplot.main
if __name__ == "__main__":
if os.getuid() != 0:
print("You need root permissions to do this ...")
exit(1)
sys.exit(1)
piplot.main.main()