some more fixes

This commit is contained in:
Adolfo Gómez García 2021-06-19 15:38:19 +02:00
parent 9180d04aaf
commit 8e815c3316
2 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@ def minimal(api: RestApi, ticket: str, scrambler: str):
+ '\n\nPlease, retry again in a while.', + '\n\nPlease, retry again in a while.',
QtWidgets.QMessageBox.Ok, QtWidgets.QMessageBox.Ok,
) )
return 0
if __name__ == "__main__": if __name__ == "__main__":

View File

@ -38,7 +38,7 @@ import tempfile
LOGLEVEL = logging.INFO LOGLEVEL = logging.INFO
if sys.platform.startswith('linux'): if 'linux' in sys.platform or 'darwin' in sys.platform:
from os.path import expanduser # pylint: disable=ungrouped-imports from os.path import expanduser # pylint: disable=ungrouped-imports
logFile = expanduser('~/udsclient.log') logFile = expanduser('~/udsclient.log')
else: else: