Rename and move #11

Merged
KevinMidboe merged 14 commits from rename_and_move into master 2017-06-27 22:03:14 +00:00
Showing only changes of commit 3bc539323a - Show all commits

View File

@@ -3,7 +3,7 @@
# @Author: KevinMidboe # @Author: KevinMidboe
# @Date: 2017-04-12 23:27:51 # @Date: 2017-04-12 23:27:51
# @Last Modified by: KevinMidboe # @Last Modified by: KevinMidboe
# @Last Modified time: 2017-06-27 15:15:50 # @Last Modified time: 2017-06-27 15:24:10
import sys, sqlite3, json, os import sys, sqlite3, json, os
import logging import logging
@@ -44,8 +44,8 @@ class episode(object):
def fix_ownership(path): def fix_ownership(path):
uid = int(os.environ.get('SUDO_UID')) uid = int(os.environ.get('1000'))
gid = int(os.environ.get('SUDO_GID')) gid = int(os.environ.get('105'))
os.chown(path, uid, gid) os.chown(path, uid, gid)
def moveStray(strayId): def moveStray(strayId):