Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkdir in root? #2

Open
mebels opened this issue Mar 1, 2018 · 1 comment
Open

mkdir in root? #2

mebels opened this issue Mar 1, 2018 · 1 comment

Comments

@mebels
Copy link

mebels commented Mar 1, 2018

The script make the new image directories in the ZenPhoto root, not in the /albums folder.

GAL_FS_ROOT = '/var/www/virtual/user/html/var/albums'
ZEN_FS_ROOT = '/var/www/virtual/user/html/albums'

The new script mkdir directories are in
/var/www/virtual/user/html

@mebels
Copy link
Author

mebels commented Mar 1, 2018

fix:

	final_dir_fullpath_fix = "albums/" + final_dir_fullpath
	if migrate_verbose == True:
		print("mkdir -p " + final_dir_fullpath_fix.encode('ascii', 'xmlcharrefreplace'))
	if not os.path.isdir(final_dir_fullpath_fix):
		os.makedirs(final_dir_fullpath_fix)

Please to consider the issue #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant