2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-23 07:10:55 +00:00

general linting fixes

This commit is contained in:
Matthias
2021-09-18 03:27:19 +02:00
parent b9ba6b9225
commit ecc86e0989
5 changed files with 10 additions and 8 deletions

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
from shutil import copyfile
import os
import json
import sys
@ -143,6 +142,7 @@ def clean_settings(c):
manage(c, "clean_settings")
@task(post=[rebuild])
def migrate(c):
"""
@ -298,7 +298,7 @@ def export_records(c, filename='data.json'):
# Get an absolute path to the file
if not os.path.isabs(filename):
filename = os.path.join(localDir(), filename)
filename = os.path.abspath(filename)
filename = os.path.abspath(filename)
print(f"Exporting database records to file '{filename}'")