You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the plugin has been placed in the mediagoblin plugins folder then when run with python -m from the mediagoblin folder, the import_files.py script fails to find the ini file because the path to the mediagoblin module that is returned is relative. The following little change (hack?) fixes that.
if __name__ == "__main__":
mg_dir = os.path.dirname(mediagoblin.__path__[0])
if mg_dir == ''":
mg_dir = './'
The text was updated successfully, but these errors were encountered:
If the plugin has been placed in the mediagoblin plugins folder then when run with python -m from the mediagoblin folder, the import_files.py script fails to find the ini file because the path to the mediagoblin module that is returned is relative. The following little change (hack?) fixes that.
The text was updated successfully, but these errors were encountered: