Fix impossible imports

This commit is contained in:
Fred Boniface 2023-11-17 13:03:57 +00:00
parent 46497606a1
commit cadac70cbb
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='social-photos',
version='1.0',
version='1.1',
packages=find_packages(),
install_requires=[
'blurhash==1.1.4',

View File

@ -1,5 +1,5 @@
import load_config
import image_processing
from . import load_config
from . import image_processing
import os, sys, time, argparse, random
@ -66,12 +66,12 @@ def main():
if load_config.config['pixelfed']['enable']:
print("Pixelfed publishing enabled")
import publish_pixelfed
from . import publish_pixelfed
posts['pixelfed'] = publish_pixelfed.upload(file_data)
if load_config.config['flickr']['enable']:
print("Flickr publishing enabled")
import publish_flickr
from . import publish_flickr
posts['flickr'] = publish_flickr.upload(file_data)
## Wait before boosing to ensure media has been processed
@ -81,7 +81,7 @@ def main():
if load_config.config['boost_mastodon']['enable']:
print("Mastodon Boost enabled")
import boost_mastodon
from . import boost_mastodon
posts['mastodon_boost'] = boost_mastodon.boost(posts['pixelfed'])
if delete_mode: