Commits

Felix Krull committed 14b7df2

Import rgcalc on module level.

  • Participants
  • Parent commits 202e31a

Comments (0)

Files changed (1)

File rgain/script/replaygain.py

 
 from gi.repository import GObject
 
-from rgain import rgio, util
+from rgain import rgcalc, rgio, util
 from rgain.script import ou, un, Error, common_options, init_gstreamer
 
 
 # calculate the gain for the given files
 def calculate_gain(files, ref_level):
-    # this has to be done here since Gstreamer hooks into the command line
-    # arguments if it's imported on module level
-    from rgain import rgcalc
-
     exc_slot = [None]
     
     # handlers