Skip to content

Commit

Permalink
Fix type error (#328)
Browse files Browse the repository at this point in the history
* updated for dac

* adding setbreaks for D&C

* more setbreaks

* work with extended setbreaks

* more setbreaks

* formatting plus small fixes

* test_update fix

* state fixes

* dso

* fix playstate

* faster loop

* state path fixes

* print warning message

* set break fixes

* Use set data to get venue for all bands with set data

* gitignore and formatting

* Test/reconfigure (#324)

* move options handling to config.py

* optd fixes

* don't import options

* hard-coded options path

* move parms.dbpath to config.DB_PATH

* bugfix

* testing fix for joel

* move more lines to the try/catch

* better warning message

* rownumber printing so we can see where state failures occur

* don't print a million error msgs

* remove rownum counter

* sort order fix

* cleanup

* remove pickle dependency

* delete commented code

* fix end of tape issues, again!

* show triangle

* import order

* handle weird cases where a tape has been removed

* update tag

* Phishin fix
  • Loading branch information
eichblatt authored Dec 10, 2022
1 parent 5f18956 commit e3bce09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion timemachine/.latest_tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.4.0
v1.4.1
2 changes: 1 addition & 1 deletion timemachine/controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ def get_current(self):
try:
self.dict['VOLUME'] = self.player.get_prop('volume')
self.dict['TRACK_NUM'] = self.player._get_property('playlist-pos')
if isinstance(self.player.tape, Archivary.GDTape): # type(None)):
if not isinstance(self.player.tape, type(None)): # could be more specific, but needs to cover all archive types
self.dict['TAPE_ID'] = self.player.tape.identifier
self.dict['VENUE'] = self.player.tape.venue()
if (self.dict['TRACK_NUM']) < len(self.player.playlist):
Expand Down

0 comments on commit e3bce09

Please sign in to comment.