Set gid and uid to static vars
This commit is contained in:
		| @@ -45,7 +45,7 @@ class episode(object): | ||||
| def fix_ownership(path): | ||||
| 	uid = int(os.environ.get('SUDO_UID')) | ||||
| 	gid = int(os.environ.get('SUDO_GID')) | ||||
| 	os.chown(path, uid, gid) | ||||
| 	os.chown(path, '1000', '1000') | ||||
|  | ||||
| def moveStray(strayId): | ||||
| 	ep = episode(strayId) | ||||
| @@ -63,4 +63,4 @@ def moveStray(strayId): | ||||
| 	os.rmdir(ep.typeDir('parent')) | ||||
|  | ||||
| if __name__ == '__main__': | ||||
| 	moveStray(sys.argv[-1]) | ||||
| 	moveStray(sys.argv[-1]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user