Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
2571a750
Commit
2571a750
authored
Jul 19, 2010
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't try to guess the timezone on Windows
parent
8efef0ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
accounts.py
blink/accounts.py
+2
-1
No files found.
blink/accounts.py
View file @
2571a750
...
...
@@ -7,6 +7,7 @@ __all__ = ['AccountModel', 'ActiveAccountModel', 'AccountSelector', 'AddAccountD
import
os
import
re
import
sys
import
urllib
import
urllib2
from
collections
import
defaultdict
...
...
@@ -393,7 +394,7 @@ class AddAccountDialog(base_class, ui_class):
@
run_in_auxiliary_thread
def
_create_sip_account
(
self
,
username
,
password
,
email_address
,
display_name
,
timezone
=
None
):
red
=
'#cc0000'
if
timezone
is
None
:
if
timezone
is
None
and
sys
.
platform
!=
'win32'
:
try
:
timezone
=
open
(
'/etc/timezone'
)
.
read
()
.
strip
()
except
(
OSError
,
IOError
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment