mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-10 07:10:31 -04:00
Pass helpers into strings.load_strings instead of importing it, so fix issue with cx_Freeze in Windows
This commit is contained in:
parent
7e8b3e1750
commit
dbf4af02ac
3 changed files with 3 additions and 6 deletions
|
@ -284,7 +284,7 @@ def main():
|
|||
"""
|
||||
The main() function implements all of the logic that the GUI version of onionshare uses.
|
||||
"""
|
||||
strings.load_strings()
|
||||
strings.load_strings(helpers)
|
||||
print(strings._('version_string').format(helpers.get_version()))
|
||||
|
||||
# start the Qt app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue