Skip to content

Commit

Permalink
version bump, lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martastain committed May 3, 2023
1 parent 3180b32 commit ef92434
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion firefly/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "6.0.0"
__version__ = "6.0.1"

from firefly.config import config
from firefly.settings import Settings
Expand Down
14 changes: 6 additions & 8 deletions firefly/modules/detail/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import time

from nxtools import format_time
from PySide6.QtCore import Qt
from PySide6.QtGui import QFontDatabase
from PySide6.QtWidgets import (
Expand Down Expand Up @@ -325,7 +322,7 @@ def on_revert(self):
self.focus(asset_cache[self.asset.id], silent=True)

def on_set_qc(self, state):
#state_name = {0: "New", 3: "Rejected", 4: "Approved"}[state]
# state_name = {0: "New", 3: "Rejected", 4: "Approved"}[state]
# report = (
# f"{format_time(time.time())} : {firefly.user} "
# f"flagged the asset as {state_name}"
Expand All @@ -335,10 +332,11 @@ def on_set_qc(self, state):
# report = self.asset["qc/report"] + "\n" + report

response = api.set(
id=self.asset.id, data={
"qc/state": state,
#"qc/report": report
}
id=self.asset.id,
data={
"qc/state": state,
# "qc/report": report
},
)
if not response:
log.error(response.message)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "firefly"
version = "6.0.0"
version = "6.0.1"
description = "Desktop client application for Nebula - Open source media asset management and broadcast automation system."
authors = ["Nebula Broadcast <[email protected]>"]

Expand Down

0 comments on commit ef92434

Please sign in to comment.