import gi
import time

gi.require_version('Unity', '7.0')
from gi.repository import Unity, GObject


def update_counter(count):
    launcher = Unity.LauncherEntry.get_for_desktop_id("furikura.desktop")
    launcher.set_property("count", count)
    launcher.set_property("count_visible", True)




import gi

gi.require_version('Unity', '7.0')
from gi.repository import Unity


def update_counter(count):
    launcher = Unity.LauncherEntry.get_for_desktop_id("furikura.desktop")
    launcher.set_property("count", count)
    launcher.set_property("count_visible", True)

Remove unnecessary imports for Unity module
Remove unnecessary imports for Unity module

  import gi
- import time
  
  gi.require_version('Unity', '7.0')
- from gi.repository import Unity, GObject
+ from gi.repository import Unity
  
  
  def update_counter(count):
      launcher = Unity.LauncherEntry.get_for_desktop_id("furikura.desktop")
      launcher.set_property("count", count)
      launcher.set_property("count_visible", True)
  
- 
- 
- 
Remove unnecessary imports for Unity module
## Code Before:
import gi
import time

gi.require_version('Unity', '7.0')
from gi.repository import Unity, GObject


def update_counter(count):
    launcher = Unity.LauncherEntry.get_for_desktop_id("furikura.desktop")
    launcher.set_property("count", count)
    launcher.set_property("count_visible", True)




## Instruction:
Remove unnecessary imports for Unity module
## Code After:
import gi

gi.require_version('Unity', '7.0')
from gi.repository import Unity


def update_counter(count):
    launcher = Unity.LauncherEntry.get_for_desktop_id("furikura.desktop")
    launcher.set_property("count", count)
    launcher.set_property("count_visible", True)
