Compare commits
2 Commits
main
...
0c78ed7cf7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c78ed7cf7 | ||
|
|
4db9bfd103 |
@@ -530,6 +530,8 @@ class MediaDetailsScreen(Screen):
|
|||||||
if type(showDescriptor) is not ShowDescriptor:
|
if type(showDescriptor) is not ShowDescriptor:
|
||||||
raise TypeError("MediaDetailsScreen.handle_new_pattern(): Argument 'showDescriptor' has to be of type ShowDescriptor")
|
raise TypeError("MediaDetailsScreen.handle_new_pattern(): Argument 'showDescriptor' has to be of type ShowDescriptor")
|
||||||
|
|
||||||
|
self.removeShow()
|
||||||
|
|
||||||
showRowIndex = self.getRowIndexFromShowId(showDescriptor.getId())
|
showRowIndex = self.getRowIndexFromShowId(showDescriptor.getId())
|
||||||
if showRowIndex is None:
|
if showRowIndex is None:
|
||||||
show = (showDescriptor.getId(), showDescriptor.getName(), showDescriptor.getYear())
|
show = (showDescriptor.getId(), showDescriptor.getName(), showDescriptor.getYear())
|
||||||
@@ -539,8 +541,6 @@ class MediaDetailsScreen(Screen):
|
|||||||
if showRowIndex is not None:
|
if showRowIndex is not None:
|
||||||
self.showsTable.move_cursor(row=showRowIndex)
|
self.showsTable.move_cursor(row=showRowIndex)
|
||||||
|
|
||||||
self.removeShow()
|
|
||||||
|
|
||||||
patternDescriptor = self.getPatternDescriptorFromInput()
|
patternDescriptor = self.getPatternDescriptorFromInput()
|
||||||
|
|
||||||
if patternDescriptor:
|
if patternDescriptor:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
. ~/.local/share/ffx.venv/bin/activate
|
. ~/.local/share/ffx.venv/bin/activate
|
||||||
pushd ~/.local/src/ffx/
|
pushd ~/.local/src/ffx/
|
||||||
git checkout main
|
git checkout "${1:-main}"
|
||||||
git pull
|
git pull
|
||||||
pip install --editable .
|
pip install --editable .
|
||||||
popd
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user