From 89ba00684bf34ab027c4ad5ced0aa87cd94317a9 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 25 Aug 2020 16:49:33 -0400 Subject: [PATCH] Fix metadata import I'm dumb --- acsuite/__init__.py | 6 +++++- acsuite/_metadata.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/acsuite/__init__.py b/acsuite/__init__.py index c9e2b19..1285cbc 100644 --- a/acsuite/__init__.py +++ b/acsuite/__init__.py @@ -1,7 +1,11 @@ """Frame-based cutting/trimming/splicing of audio with VapourSynth and FFmpeg.""" __all__ = ['clip_to_timecodes', 'eztrim', 'f2ts'] try: - from _metadata import __author__, __credits__, __date__, __version__ + from . import _metadata + __author__ = _metadata.__author__ + __credits__ = _metadata.__credits__ + __date__ = _metadata.__date__ + __version__ = _metadata.__version__ except ImportError: __author__ = __credits__ = __date__ = __version__ = 'unknown (portable mode)' diff --git a/acsuite/_metadata.py b/acsuite/_metadata.py index b9e576f..91c7a18 100644 --- a/acsuite/_metadata.py +++ b/acsuite/_metadata.py @@ -7,4 +7,4 @@ doop, for explaining the use of None for empty slicing. Vardë, for fixing FFmpeg's >4GB WAV file issues. """ -__version__ = '5.3.0' +__version__ = '5.3.1'