fix type hint compatibility with Python < 3.11
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import annotations # for compatibility with Python < 3.11
|
||||
import io
|
||||
import os
|
||||
import pathlib
|
||||
|
||||
Reference in New Issue
Block a user