forked from shaba/openuds
some more fixes
This commit is contained in:
parent
9180d04aaf
commit
8e815c3316
@ -303,6 +303,7 @@ def minimal(api: RestApi, ticket: str, scrambler: str):
|
||||
+ '\n\nPlease, retry again in a while.',
|
||||
QtWidgets.QMessageBox.Ok,
|
||||
)
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -38,7 +38,7 @@ import tempfile
|
||||
|
||||
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
|
||||
logFile = expanduser('~/udsclient.log')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user