Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wusspuss
gajim
Commits
584c1a02
Commit
584c1a02
authored
13 years ago
by
Dicson
Browse files
Options
Downloads
Patches
Plain Diff
fix previos commit
parent
57264bb6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/plugin.py
+4
-1
4 additions, 1 deletion
src/plugins/plugin.py
with
4 additions
and
1 deletion
src/plugins/plugin.py
+
4
−
1
View file @
584c1a02
...
...
@@ -234,6 +234,9 @@ def __iter__(self):
def
keys
(
self
):
return
self
.
data
.
keys
()
def
items
(
self
):
return
self
.
data
.
items
()
@log_calls
(
'
GajimPluginConfig
'
)
def
save
(
self
):
fd
=
open
(
self
.
FILE_PATH
,
'
wb
'
)
...
...
@@ -242,7 +245,7 @@ def save(self):
@log_calls
(
'
GajimPluginConfig
'
)
def
load
(
self
):
if
os
.
path
.
isfile
(
'
qwe
'
):
if
os
.
path
.
isfile
(
self
.
FILE_PATH
):
fd
=
open
(
self
.
FILE_PATH
,
'
rb
'
)
try
:
self
.
data
=
cPickle
.
load
(
fd
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment