Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #155 from imsodin/event
Browse files Browse the repository at this point in the history
Adjust to new event API (fixes #154)
  • Loading branch information
Zillode authored Feb 9, 2017
2 parents 7fa73ad + cbbed6f commit df7bbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncwatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ func watchSTEvents(stChans map[string]chan STEvent, folders []FolderConfiguratio
time.Sleep(configSyncTimeout)
continue
}
if events == nil {
if len(events) == 0 {
continue
}
for _, event := range events {
Expand Down

0 comments on commit df7bbb9

Please sign in to comment.