1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2024-11-24 08:02:14 +02:00

Merge pull request #2 from serjeii/patch-1

Fix read of remove_empty_dirs
This commit is contained in:
Alexander 2021-03-08 00:39:44 +01:00 committed by GitHub
commit 7e28c804d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ class Importer(threading.Thread):
new_filenames = self.__image_filenames(self.__move_files(filenames))
if self.__config['main']['remove_empty_dirs']:
if int(self.__config['main']['remove_empty_dirs']):
self.__remove_empty_dirs(dirs)
self.__rotate_files(new_filenames)