File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020# always goes after wxreactor install
2121
2222wxreactor .install ()
23- import enhanced_status_bar
23+ from evora . client . gui import enhanced_status_bar
2424from twisted .internet import defer , protocol , reactor
2525from twisted .protocols import basic
2626# FTP Client Things
Original file line number Diff line number Diff line change 1515import evora .common .logging .my_logger as my_logger
1616import evora .common .utils .fits as fits_utils
1717import evora .common .utils .logs as log_utils
18+ import evora .client .gui .enhanced_status_bar as EnhancedStatusBar
1819
1920__author__ = "Tristan J. Hillis"
2021
@@ -352,7 +353,8 @@ def onExpose(self, event):
352353
353354 # if statement here is more for redundancy. The above MessageDialogs let the user their input is incorrect,
354355 # else they will enter this if statement just fine.
355- if self .timeToSend .isnumeric () and self .nameToSend != "" and lessThanZero :
356+ # isnumeric() only defined for utf-8 strings, convert before checking
357+ if unicode (str (self .timeToSend ), 'utf-8' ).isnumeric () and self .nameToSend != "" and lessThanZero :
356358
357359 line = self .getAttributesToSend ().split ()
358360
You can’t perform that action at this time.
0 commit comments