Opps, changed to use the int value of uid and gid, not looking up the int value and then converting to int. Does not make sense.

This commit is contained in:
2017-06-27 15:30:34 -06:00
parent 8a53cc4765
commit 4b54339b72

View File

@@ -3,7 +3,7 @@
# @Author: KevinMidboe
# @Date: 2017-04-12 23:27:51
# @Last Modified by: KevinMidboe
# @Last Modified time: 2017-06-27 15:25:04
# @Last Modified time: 2017-06-27 15:29:47
import sys, sqlite3, json, os
import logging
@@ -45,8 +45,8 @@ class episode(object):
def fix_ownership(path):
# TODO find this from username from config
uid = int(os.environ.get('1000'))
gid = int(os.environ.get('105'))
uid = 1000
gid = 105
os.chown(path, uid, gid)
def moveStray(strayId):