This commit is contained in:
Tomas Groth 2014-09-10 22:41:36 +01:00
parent cf351a7af9
commit 5dc722e017
2 changed files with 3 additions and 2 deletions

View File

@ -590,7 +590,8 @@ class ImageMediaItem(MediaManagerItem):
# Continue with the existing images. # Continue with the existing images.
for filename in images_file_names: for filename in images_file_names:
name = os.path.split(filename)[1] name = os.path.split(filename)[1]
service_item.add_from_image(filename, ImageSource.ImagePlugin, background, os.path.join(self.service_path, name)) service_item.add_from_image(filename, ImageSource.ImagePlugin, background,
os.path.join(self.service_path, name))
return True return True
def check_group_exists(self, new_group): def check_group_exists(self, new_group):